I don’t know about other countries but that’s absolutely the case for the US.
The culprit is the AMA.
> In the 20th century, the AMA has frequently lobbied to restrict the supply of physicians, contributing to a doctor shortage in the United States.[10][11][12] The organization has also lobbied against allowing physician assistants and other health care providers to perform basic forms of health care. The organization has historically lobbied against various of government-run health insurance.
The culprit is the AMA.
> In the 20th century, the AMA has frequently lobbied to restrict the supply of physicians, contributing to a doctor shortage in the United States.[10][11][12] The organization has also lobbied against allowing physician assistants and other health care providers to perform basic forms of health care. The organization has historically lobbied against various of government-run health insurance.
https://en.wikipedia.org/wiki/American_Medical_Association