I thought you meant the US in general. Because that checks out. It has a Bill of Rights. And the Police has another, better Bill of Rights. Some animals are more equal than others.
What they lack is qualified immunity, so it's pretty rare because the risk of being wrong is too great. Which seems to be a valuable take away.
Also, we could make laws saying that prisoners are only allowed to be kept at approved prisons; a law that could be applied equally to police and citizens, while ensuring the government gets to approve who gets imprisoned.