Wouldn't be that hard give people a little device that tracks the roads they use and charges them $0.05 per mile that they drive and then have the company be a co-op that's owned by the people living in that town.
A local co-op would never last. If it could, we'd see far more local co-ops.
Most US states pay for a significant fraction of road maintenance from motor fuel taxes ("road tax"). You probably aren't paying those taxes if you're in the US and you don't buy motor fuel.
Increased EV adoption is likely going to change that regime.