One of my former teachers transferred from thoracic surgery to an associate professor of respiratory medicine in a 3A hospital. It is equally handy to apply surgical knowledge to medical treatment. It can also be recognized by colleagues and patients. The doctor lies in continuous learning and enrichment. If you really have such a determination, of course you can try. The key is whether you have the courage.
I think it is feasible to switch from surgery to internal medicine, but it is more difficult to switch from internal medicine to surgery. Surgery is a very practical subject, and it is impossible to become a qualified surgeon without long-term surgical training, while internal medicine needs clinical thinking ability, which can be improved through active learning.