Anyone ever rigged up a 2 step switch to run off your brake pedal?

I've heard of people doing that. The issue isn't brake pressure but engine rpm.
If you use the two step off off your brake light switch. The rpm will be the same and the brake pedal travel will be the same if you stage it t
at the same brake pressure.