It is extremely tough. I left my Civil Engineering career path in 2015 in search of a career in tech. I then applied to graduate school at SMU for an online masters in data science. I am still struggling to find meaningful work, but currently mentoring a data science bootcamp.
This is a very tough track but uf you have software development experience it should be easier to get a role in ML or Data Science.