Possibly if you are selective in using just the running costs.
The researchers compared the carbon dioxide output for a Tesla Model 3 (electric) and a Mercedes C220d sedan (diesel). The Mercedes releases about 141 grams of carbon dioxide per kilometer driven, including the carbon emitted to drill, refine, and transport its fuel. The Tesla releases between 156 and 181 grams, including battery production. Mining and processing the lithium, cobalt, and manganese used for batteries consume a lot of energy. A Tesla Model 3 battery, for example, represents between 11 and 15 metric tons of carbon dioxide. Given a battery lifetime of 10 years and an annual travel distance of 15,000 kilometers, 73 to 98 grams of carbon dioxide are emitted per kilometer.