Providing the police with conflicting responsibilities isn’t going to solve that problem. At best it’s a waste of resources, and at worse it makes everything worse. You can’t expect the police to earnestly participate in improving a community when at any moment their responsibilities may obligate them to decide that it’s the community members who are the problem, and that they need to go to jail.
The very nature of the justice system is adversarial, and the police are it’s enforcers. Attempting to burden them with responsibilities that directly conflict with their role in the system isn’t going to fix anything.