There already is a tax on fuel, and the amount of fuel you use is related to the amount you drive.
But it’s hard to monitor personal travel profiles that way.
You are correct - the fuel tax does exactly what the black box would do in terms of imposing extra taxes on those who drive the most. But the fuel tax does not give the government any information about YOU, so it is “outdated.”