This life trajectory seems quite common in tech tbh. I suspect the proportion of autistics with ADHD in tech is quite high, given the appeal of: not working with people, novel difficult problems to solve, immediate sensory feedback from working on your computer. It also describes my life accurately as well.
Ironically, we chose a work style that requires maintaining prolonged focus, which sucks without meds (especially when dealing with boring tasks).