Quick heads up, I'm assuming you're not taking any meds—no judgment.
On a personal note, I'm pretty sure I've got ADHD (still waiting on that official diagnosis). Sitting in front of a computer is a struggle for me, so I've switched things up by working standing upfront. Bonus: I bounce (back and forth) with the music, and it surprisingly does the trick!
About five years ago, I penned a book about this quirky workstyle. If you're into music, maybe give it a shot: https://www.amazon.com/Limitless-Work-Dance-EDM-Music/dp/179...