Yep, I always hated when they did that as it typically created slack because of the way they janked on it.I remember when my Mom was still around She had a 2000 Jeep Grand Cherokee Limited well she had to get a coolant flush she was amazed that the guy was able to "step" on the gas from under the hood I told her he is just pulling the cable the same cable that the gas pedal pulls when you step on it. I don't know how they can do this now with modern cars as there is no throttle cable as it uses electronic controls AKA drive-by-wire
Today? You need a computer for everything.