I've read that it's largely the residency system (which, from the outside, feels more like hazing than training) that limits positions, and I don't think that's under any direct control by the AMA. Wikipedia says it's mostly funded by Medicare.
*although in the face of the incredible pressure they're about to face from AI they may be opening up