Sort of but road erosion is to the fourth power of weight while fuel consumption is approximately linear with weight, so the tax is not exactly proportional to use.
Like we have a short segment of road in my town that’s almost exclusively and regularly used by garbage trucks, which are ~10x the weight of a car. I don’t think the road gets repaved 10,000x more often than other roads though?