For a while, I programmed while walking on a mini-laptop. Nice walking paths where I lived. I was on a hobby project and wanted to spend any minute on it. It wasn't pretty. I kept trying to design a contraption I could wear on my shoulders that worked like a laptop desk.

I also attached a laptop to a treadmill at home, but the static electricity from the rubber mat kept zapping the laptop.

The best result was a laptop on an exercise bike. But the bike couldn't have a high resistance or I would lose concentration.

> kept trying to design a contraption I could wear on my shoulders that worked like a laptop desk

Nathan Fielder wears something like this in The Rehearsal. Google tells me it is called Connect-A-Desk.

I have an under-desk bike (just pedals really). Being able to just move my feet while working is nice. But yeah once it turns into an actual workout then I'd be focusing on pedaling and not work.