You can do anything you set your mind to. That said, things aren't much better in embedded.
My PhD roboticist buddy (currently managing a robotics lab in Tokyo) said last week that he recently feels like a meat puppet for the AI.
From where I'm sitting, jobs wise, we're at a collapsing point now. I'd look at adding value to other things with your software skills rather than choosing a focal zone in software. The value of specialist knowledge is dropping precipitously. Generalists are the ones in demand. Cross discipline at a minimum.