Health vs passion

I have scoliosis ( had a surgery for it 6 years ago ) and intense back pain ( i'm trying to make things better and i feel like i can atleast make it less severe and manageable with months of care but i'm not 100% sure ) but i want to pursue a career in tech and then get my dream fulfilled of working in robotics ( my passion since childhood ) .....as we all know lifestyle in tech jobs causes back pain even to those who never had a back pain issue to begin with so i'm terrified that i might end up increasing my problems and health issues but i really really want to pursue a career in tech

So if possible i need a personal advice from a senior .... i'm a 2024 b.tech passout from tier 3 college

Also the thing that makes me feel like i can do it is that i can go for work from home as well if things go wrong with my back pain