Yes, that's exactly it.
Medical schools have the power to develop elements of their curriculum. It's important to understand that before the selection and matching of family medicine or specialty medicine residents, doctors don't make their choice in the last two or three months of their undergraduate training. They do it several months before that.
These programs sometimes require more funding because there must be family doctors and settings available to receive them. Second, you have to get out of the hospitals if you want family doctors to gain experience in primary care and not limit their training to the hospital setting. You need to think outside the box. Of course, there's a certain cost to that, because it takes infrastructure, staff and family doctors. They need to free up or at least adapt their patient care duties to mentor learners.