While they can it's unlikely, not all burning of stuff is an explosion, and not all electricity is made with burning stuff.
If you are charging up your Tesla with a generator, maybe, but where fossil fuels are burned in powerplants it's incredibly unlikely that it's an explosion in an internal combustion engine. Generally it's a big fire that heats water to steam.
It's a fast controlled burn with forces that could cause much destruction but is instead directed into rotational movement. The difference between an engine knocking and not knocking is pretty small, so I'd argue either both cases are explosions or neither are. Explosion isn't a very scientific word anyway
Not that I trust Google, but I did a search and the first result said "A detonation is an explosion where the flame speed is greater than the speed of sound."
That implies there can also be explosions that are subsonic
I also found this wiki page https://en.m.wikipedia.org/wiki/Explosion
Deflagration is listed as just that. And cars run on Deflagration, so therefore they run on explosions