Of course, if you look at the energy mix for our grid. But the possibility (maybe even the inevitability) exists that the grid will be powered by cleaner sources over time. No such possibility exists for an ICE vehicle...
I generate 80% of the power I drive on (PHEV + 10kW of PV on the roof), though I mostly commute by bike so I don't drive a ton.