You are a massive bender.
But if you must do it as @Arttumentioned controlling the power is the tricky bit. Cutting sparks and winding out ignition advance are old hat.
Most of it is done on the fly by wire throttle and controlling the torque output.
You can go 2 ways. oem system, the bosch system is the bench Mark, use everything wheelspeed sensors throttle control, IMU, ECU etc etc. then find someone clever to crack it and reprogrammed. Or buy a £5k Motec unit and a very clever dyno man to map it.
Or you could spend money on a nice shock and plenty sticky tyres, and spend time driving forward on massive amounts of traction, rather than trying to kill power every time you want togo forward.
I'm yet to trigger the TC on any bike with proper race tyres.