Let's say in 15 minutes, I can walk 1 km, go 5 km on a bike, 10 km with a public transport and 15 km with a car.
Area = pi * radius*2 Walking = 3.14sqkm Bike = 78sqkm Public transport = 314sqkm Car = 706sqkm (All is just example ignoring parking, looking for bike stands, waiting for public transport or changing stations)
If I want to do Yoga, and it is in 706sqkm around me, but not in 314km, I have to use car and no other transport is going to get me there in 15 minutes. When the city have a policy that prohibits me from using the car, I need to choose the second most preferred activity, which might be for example going to a café nearby.
Cities that slow down transport are in fact harming people's interests by limiting their choices and pushing them to suboptimal choices. (Which also inherently means that faster is always better and people who want to slow down traffic in cities are evil, but that off-topic)
If there were no subsidies for cars, public transport and bike lines and all this was based purely on contributions from users, it would create a self-optimising feedback mechanism. Going to yoga could for example cost $2 to build & maintain roads. I might not want to spend it and I might go to a café instead because everyone living in the city already pays for his sidewalk anyway.
I think, paying per class or year (but rather class) and having student debt as a separate instrument (that can be private or public), is much better.
It's also inefficient, punishes good behaviours (saving and investing), requires the state knowing what everybody owns.
If I was designing a tax system, I would try to tax directly where it is used. Car owners and drivers should fund roads, cyclists should fund bike trails, students should fund universities, insured people should fund healthcare, people living in towns should fund their waste removal, firemen, sidewalks, etc.
This would create self-optimising loops where people would spend based on how much they really want something. More drivers paying for roads = more roads; more cyclists paying for bike trails and bike lines = more bike infrastructure.