I built a bike for a friend, and it had a t-speed switch wired into the throttle system. One could control throttle activity with this switch, although, as you say, the throttle is a potentiometer
AFAIK and you can control it that way. My 1000w, 52V has a thumb throttle which I use to control speed.