Either way the supply is controlled. Controlling the supply is the problem, not who does the controlling.
Simply increasing the number of medical school places would result in many people spending years of their life (and in the US, 100s of thousands of dollars in debt) without then being able to then start their career.
Some degree of central planning seems reasonable here.