You're kind of describing two different ideas: pigouvian taxes, and taxing The Commons.
What both have in common is that economists from all different schools of thought widely agree that they're the least distortionary taxes.