Absolutely. I had a shitty experience at Apple, manager/team lead treated me as a beginner despite me being in a senior engineer role and I was highly experienced from some other major companies. He thought time at Apple was the only metric.
He constantly questioned my code, despite it being actually much better than his, and more Apple style. Would give me no latitude to implement features independently that I could do in my sleep.
But I had “fuck you” money saved. It had been my dream to work at Apple, but after 6 months I called it quits, told that asshole where to stick his job.
That should be about ten times easier on a software developer salary than on anything else, so consider yourself lucky.