However are you sure you want to take the cut in prestige/pay?
In the medtech space there's a huge need for project mangers, etc wish medical experience. So knowing how to code and how to query databases along with all that medical knowledge would be a super power.
However, I can't imagine you'd be happy as a junior engineer churning out react code but maybe?
I started programming on a zx80 and trs-80 clone at 11 years old, and have devoured new languages, methodologies, tricks and tips, computer science breakthroughs, and so-on throughout my career, but still do not have work currently.
If you want to go to school because you're interested, then that's cool. But to think you can make a living out of it when you're 30 years older than the tens of thousands of kids that you're competing against... I really don't think it's worth it unless you want to form your own startup that is medical-related.