The mission of many DO schools is to provide primary care folks in the region of the country in which they are located. But it’s not impossible to enter a more specialized field. Just takes more legwork on the part of the student. In particular, they need to be willing to seek out elective rotations in their fields of interest.
@WayOutWestMom can elaborate more