Neither are monolithic groups
Cops are universally, by means of their position as enforcers of the bourgeois social order, monsters, hence why ACAB stands for "all cops are bastards". There literally is no good cop. They are an evil monolith. Obviously anarchists are against the bourgeois social order. Of course there are monsters who identify as anarchists, but these are people in conflict with the anarchist project. By contrast, monsters within the police are aligned with the intended monstrousness of their system.