Under a capitalist system, you just need to force people to pay for the externalized cost so incentives align.
Which is not to say that it isn't a good idea, and the minimum deviation necessary from capitalism to address externalities, but ideological capitalism/free-market purists tend to oppose it pretty strongly.