Gas tax is politically toxic. But maybe an excise tax on oil profits? (If you could come up with a Constitutional way to tax only energy exports, that would be better still.)
The electorate is not so stupid that "it turns out people really don't want what I'm peddling so I'm just gonna reframe it and those idiots will be none the wiser" is likely to work.
Nevermind the fact that by moving it from gas to oil companies you're also then taxing "energy" more generally and it's gonna show up across the entire economy.
> If you could come up with a Constitutional way to tax only energy exports, that would be better still.
The only constitutional issue with taxing energy exports is gettin Congress to pass the law and POTUS to sign it.