No one size fits all answer. It not only depends on your skill, but also the company you choose to work for, but yes absolutely doable if you put in the works.
The “work” doesn’t just start and stop at acquiring skills and knowledge, however. Networking and job searching is entirely another beast on its own, and you must put in work on that front as well.
Learn, work, communicate regularly, not just online, but with real people off-line. Write code, make sure you have something to show for all the things you learn. Communicate, make sure you can cleanly and confidently present yourself and explain what you have learned to others, not just technical people, but non-technical people as well.