punch and roll macro (one click punch in)

I want to start using punch and roll to cut down on editing time, but I can’t find a way to do it economically. Meaning, to punch and roll, you have to 1. stop recording, 2. drag cursor to where you want to start your recording, then 3. hit the punch and roll roll key.

I want to do all this with a single keystroke, especially if I’m standing (like you should do) when recording and not seated immediately behind your keyboard. Is there a way to create a macro that 1. stops recording, 2. rolls back however many seconds you specify to where you want to begin your recording, and 3. begin playback however many seconds before that?

So, I hit my macro key (say P for punch and roll,) Audacity stops recording, backs up 10 seconds and starts playing, after 5 seconds starts recording. To my mind, this is the only way that would make punch and roll really any better than simply stopping recording, setting the play head before the the mistake, and simply begin recoding again. Can I set recording to begin at the cursor location instead of the end of the track without having to set it to record on a new track?

See here: https://manual.audacityteam.org/man/punch_and_roll_record.html