Sure, but that's why participation rate varies pretty wildly from one practice to the next on whether or not they accept Medicare or Medicaid.
If a doctor doesn't like the rates Medic[are|aid] are paying, they're free to not accept Medic[are|aid] patients.