The biggest issue isn't domestic medical school slots, it's a lack of residency training slots (for which federal funding was capped in 1996). If more residency slots were available with adequate funding, these positions could easily be filled with foreign medical graduates that have passed the US's medical boards (USMLE steps 1 & 2, with 3 taken during or after intern year).