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

The way I did my clutch switch was with two 4 prong relays activated off the line lock momentary button and a toggle switch. Use the line lock button to heat the tires, then turn on the toggle switch for power to the second relay, that goes to a micro switch on the clutch pedal( your case the brake pedal), which is activated threw the first relay for the line lock. Once the clutch or brake pedal is released you have to press the line lock button to reactivate the clutch or brake pedal micro switch.