I have considered it, but I'm not giving my life for my country. A country is just an emergent structure. There are others like it.
I'm like you: I have very hard time working on something someone tell me to do, yet I can spend hours working on my own projects without any issue. Of course this led to pretty big issues like failing my PhD and having to go back in my country. Then I quitted my first real job after 4 months because I was feeling I wasn't pay enough and the conditions weren't to my liking, and finally found a full remote one which pays quite a bit more.
My advice would be to either find a job in which the conditions aren't too bad (4 days weeks, full remote, etc.), or a government worker like position where you can be paid doing jack shit.