In New Zealand there is already a kilometers-based system for all non-gasoline vehicles where you pay in advance. For light vehicles it currently costs $76/1000 km, increasing for trucks as weight increases by about the 3rd power, with a deduction for additional axles. Road wear in general is considered to increase as the 4th power by weight, the 3rd power rate allows that some portion of the costs are non-wear related.
You buy blocks of kilometers at a post shop or online and place the printed small card (business-card sized) in a holder in the windscreen. It's based on your odometer reading for light vehicles, hubodometers for heavy.
No doubt some people try to get around the system but it's not taken lightly if you get caught as it's considered tax evasion. Since we have annual (initially triennial for new cars) safety inspections it will be noticed if the odometer has not advanced in line with wear and tear. You're even taking a risk by forgetting to keep up with your odometer, but it'll only be a nominal fine if you have reasonable excuse.
BEVs and PHEVs have had a full exemption for many years now, due to expire at the end of 2021.
I worked out yesterday that my cost of doing a 300 km trip will go from 14% that of an ICE, to 54%. That's based on 20 cents/kWh and $2.20/litre. If public chargers are used for that trip the cost will be on par with gasoline.