Another issue is that prosecutors depend on police to act as investigators in crimes. If prosecutors start going after the police, the police could well become rather less cooperative.
Which is why you make a simple clear cut law that says every incident is investigated by a completely separate entity that has no ties to the local community or police.
The cops can hate them all they want, a special investigator has no reason to give a fuck.