In a way I think it's good they have these requirements in place as that means people in Brazil won't be without doctors but its also pretty awful for me to say something like this given I DID move here to work, so I guess anyone else should have the same shot.
Some medical professionals find the US healthcare system to be unconscionable. Some would move, some wouldn't. My doctor parents were offered jobs in the US but they refused on moral grounds - forgoing a somewhat higher salary - preferring to stay in Canada.
The best outcome would be for them to move to the US, push down salaries (salaries in the US are something like 56% of all of healthcare spending) and that normalization would then stem the flow of foreign professionals while seriously benefitting Americans.
https://www.healthcareers.nhs.uk/career-planning/study-and-t...
and it seems that basically you can get a student loan for this for the first four years of your degree, then you might be eligible for a means tested bursary afterwards and a non means-tested £1000 grant. This scarcely counts as paying for medical training, in my opinion.
That's why doctors trained in the US typically graduate with around $240,000 in debt, while doctors trained in the UK owe a fraction of that.