Not all IC engines, but all gasoline ones.
Diesel engines are really more like colloquial term gas pedal, the more you push, the more the injector pumps dispense. That’s what m makes diesels more efficient (no pumping losses like a gasoline engine.
Unfortunately they are dirty as hell.