This should be one of the options for google maps routing. A "Avoid Overpoliced Municipalities" toggle.
Legislating that traffic/etc fines go to a _state_ budget instead of local town budgets might solve this, but I imagine that would be very hard to pass, let alone survive lawsuits.