Internalizing externalities is the way to do it within the economic system.

But when ever the government tries to do that they get accused of just trying to make revenue lol.