Is there an alternative but that does it all locally? I'd love to avoid the cloud part. And I'd like it to be as easy as this, unlike OBS/Camtasia.
I then delete the mistaken takes, and concatenate everything with an FFMPEG script.
Quicktime has a very simple/flexible screen recorder built in. You can record a section of your screen, or full screen. If you make a mistake, pause for 5 seconds and then just do a re-take on the fly.
Import the QT recording into iMovie. Clip out of the unwanted sections and export your video.