You need to dig up every street every winter for repairs anyway, and you need the inductive loops for adapted traffic lights anyway.
Effectively, you need the infrastructure, most cities on the world have it in some way – either as inductive loops, or by using RFID toll systems, or similar.
So, you have it already, and you can get the same data out of it without the cost of breaking everyone's privacy.