Sorry I didn't have time to read completely, I will read this when I have free time. But I wanted to mention this is completely reverse for me. Over the years I have found my body and mind are complete opposite side of each other. I have to complete stay moveless, and when I stay moveless for awhile that's when my mind will work at its extreme capacity. Moving, Walking, Talking, Writing, everything is kinda distracti…
Two different types of thinking. Focused thinking where all your memory slots are consciously controlled. Un-focused thinking (diffused mode) where random connections between different ideas are made. [0] The unfocused thinking is where you get the ^aha^ moment. So yes I'd reckon every programmer/hacker/scientist/mathematician is pretty much doing what you describe.
[0] Barbara Oakley, PhD, PE., "Focused and diffuse modes of thinking- a brief on how it functions" ~ https://www.youtube.com/watch?v=dzjsk5e7srI