If this is true then a restructuring of the entire organizations might help. It seems the flaws are built in.

This is exactly what "defund the police" is (IMO) trying to say. The justice system (really it extends to the courts, the law itself, etc.) we have is corrupt. To really solve the problem that currently-existing policing purports to solve means scrapping it altogether and starting fresh, with fresh people, culture, goals, and processes.