Yes, absolutely.
- - - Updated - - -
By the way, the old fashioned term "throttle" comes from the fact that the pedal used to control a cable that moved a valve in the carburetor (or intake manifold with fuel injection) that would "starve" the engine for air to keep it from trying to fully rev. You basically could prevent the engine from making full power. These days many/most gasoline cars use a "drive by wire" system where the pedal controls a potentiometer and a solenoid type device moves the air intake valves. I think they do this in part to manage emissions (such as closing the valve during shifts), help with fuel economy, and otherwise fine tune the driving experience (such as making the pedal more responsive on hills.)
I think for EVs it is better to use the term "accelerator pedal", not "throttle" or "gas pedal".
(In some old threads, some liked to call it the "torque pedal", since in cars like the Roadster you can also let off to cause negative torque / regen slowing. )