Did the same myself
This sounds almost exactly like my career. And I'm not looking back! I ended up massively depressed at the sheer pointlessness of the entire industry. Layers and layers of people in jobs through chance project openings and booking code requirements rather than because of their skills or desires. And ultimately, the majority of the stuff being produced was doing nothing to further humanity - it's just about justifying the need for big teams that can generate big turnover (not even profit). Crazy, crazy.
Now, I work when I want using whatever I like with people I respect and trust, who also respect and trust me (I hope!) and enjoying life in general more than I have in years. Wish I'd done it earlier. The only thing that held me back was the job security paranoia. However, after turning down several other dull looking corporate roles that gave me the confidence to realise that there's always stuff around if you're reasonably competent.