I know people that develops music software, they love playing instruments, they love music, and they enjoy their jobs.
Educational software, medical software, everything can be extremely enjoyable if you like the topic.
I made accounting software, and it was really fun to do. In that case was just because I had creative control of the accounting software, and I like how well everything adds up, and how grateful are users when you remove their day-to-day pain-points.
But if you like that, making games is more fun nowadays. It used to be a lot of code for networking, graphic engines, and tooling. More math and low level system coding than actual game development.
And, no, if you like playing games that does not mean that you would like to make them. Even that it helps.