I was exactly this person for a long time. I took a lot of pride in the fact that I wrote my engines from scratch when everyone else was using Unity. When people asked what drove me, I would joke that I had a disease. I had to make games. After getting some counseling and getting married, I've realized that game development is a great coping mechanism to help you feel safe and in control. You are the master of your own universe. For some reason it also helps you feel worthy, like you've accomplished something.
I'm not saying gamedev is bad, but I think a lot of people unknowingly use it to self-medicate.