That's a very good idea, and also presumably easier to sell to the public. It's a blunter tax, but I don't worry about that so much. I imagine different uses of oil have different environmental impacts, so ideally you'd want to design the perfect tax for each one. But in practice that's not going to happen anyway so taxing crude oil directly sounds fine.