For me at least, its not the work tasks itself, its the dealing with the company and the amount of inefficiency that gets in the way of being able to do my tasks. When I do them, I enjoy them. Waiting a week for information and not being allowed to work on other tasks in the mean time will make anyone a little demotivated.
I took my current job (in communications) in order to get better at outreach, marketing, etc. for when I work for myself since that's what I was the weakest at as a freelancer. I'm also interested in tech ethics so I took a job in politics so I could become more familiar with how the sausage is made.
Now I'm looking for a swe job so I can get more experience working in teams of devs since most of the tech work I've done has been solo work.
I don't have enough data to say it's a good idea, but so far I'm liking it.