Have one as a career and the other as a completely different hobby that you can "escape" into.
I think surgery as a hobby would be frowned upon. Your need to 'escape' may then be from state incarceration.
It's an unfortunate fact that in life, binary choices have to be made sometimes. However, that is not to say that all choices are irreversible when you have youth and time on your side.
I left medical school without graduating. I wouldn't describe myself as being academically gifted but I could focus and I worked hard throughout my school and college years. I'd never intended to study medicine or pursue that career path but as my schooling progressed, I found that I was more successful in the biological and chemical sciences, than in maths (and hence 'A' level physics). There's always a tendency to gravitate to where we achieve the greatest successes, and when young, the most recognition and praise. In that way, I was encouraged to apply to medical school and willingly did so.
I found medical studies all consuming but initially, I loved them and everything about them. Looking back, I think that was because what I really enjoy is systems, and the ability to diagnose their operation. And that continued right up until the moment I wasn't interested any more, because my head had been turned. That started when I was introduced to some CS students, and I learned of their studies and got to see their labs and their projects. It reignited in me the interest that I had from early childhood in electronics and computers, and the genie wouldn't go back in the bottle again. I dropped out of university, and pursued a technical career, starting in IT support and working my way up 'on the shop floor' to senior management in software development.
Now, would I do the same again? I honestly don't know, based on my overall experiences.
To answer your question, 'can you become a professional in a field of electronics?', I would still say yes. The fact that you've earned entry to a UK medical school shows that you have the aptitude to commit to a long, hard study path.
'Should you?', is entirely another question. For a start, I don't think it will be anything like as easy for you as it was for me to make such as change. The world has changed a lot since I was at medical school (early nineties). The jobs market has changed radically, and I'm not sure what employment prospects will look like for western engineers in the future. In recent years, I've had both roles I've held and the roles of people I've managed outsourced overnight, to cheaper alternatives. I was able to find well paid, rewarding work in computing without a university degree. That's no longer possible. If you want to make the switch, you're going to need a formal education, which means ending your medical studies and re-starting on an engineering path. That of course, has serious financial implications.
And then there's job security. If I'd wanted that (or had known how important that can be), and knowing what I know now, I'd have continued in medicine. It's pretty much a guarantee of a continual source of income and, at least in the UK, a decent pension. There's no such guarantee in private industry.
If you stay in medicine, there's no reason not to keep electronics as a very intellectually rewarding hobby. It's just that when you're able to give it limited bandwidth, it will take you longer to achieve a level of deep knowledge and competence.
Finally, for consideration; given the direction the world seems to be heading in, perhaps learn some programing on the side first, and then decide when you graduate whether you'd rather have a clinical career, or perhaps try to transition into a 'bioinformatics' one.