If we were able to take some of the debt burden out of medical education, you'd have people still lining up out the door to go to med school, they'd probably be willing to take lower salaries, and work in more underserved areas.
I used to believe this, but the AMA claims that it's actually the US Congress that is keeping the number of residencies low [1]:
> The American Medical Association (AMA) adopted policy at its Annual Meeting today to build upon its efforts aimed at modernizing and increasing funding for graduate medical education (GME). The new policy calls for the AMA to continue advocating for legislation that removes the caps on Medicare-funded residency positions, which were imposed by the Balanced Budget Amendment of 1997, to help ensure an adequate physician workforce to meet the nation’s growing needs for health care services.
I'm not an expert on this though, so it's possible that this is all PR doublespeak.
[1] https://www.ama-assn.org/press-center/press-releases/ama-fun...