Easiest way to do that would be raise the tax on fuel, but that would be very unpopular.
They’re already looking at implementing a odometer based tax on EVs. They should just implement that for all road registered vehicles and leave the fuel tax as is (or lower).
Adding mass transit, incentives for work-from-home, etc. are all good. Taxing miles driven will reduce miles driven. Just taxing EV miles to make up for lost gas tax revenue probably won’t affect miles driven, except for EV drivers. It provides no new reason for GVs to drive less.