Gas taxes are already a mileage tax. The more you drive the more often you fill up the more you pay.
There are now a lot of vehicles on the road that never, or rarely, use gasoline or diesel fuel, yet are quite heavy, and use the roads a lot.
They aren’t paying.