So, maybe the electricity would not be available to run an EV, but it is used to refine the gasoline; and it should be added to the carbon footprint of gasoline.
Here's the best source on this question, that I have found:
Gasoline and Oil
Which is really too bad -- why can't we find authoritative sources on this?
Extracting oil takes a lot of electricity. Refining oil takes a lot of electricity and natural gas.
A lot of our military spending goes to defending our oil supply.