The Rebbe advises that pursuing scientific research in medicine is preferable if one can manage basic livelihood, as it offers greater long-term satisfaction and improvement. He emphasizes that true success, both spiritual and material, depends on living according to Torah, and nothing stands in the way of will.
https://www.torahrecordings.com/rebbe/igroskodesh/010/006/3344