Would Medicare or Medicaid pay for an adjustable bed?

Possibly, but doubtful. If the bed is deemed as a medical necessity, it may qualify. You will have to ask your DME provider for more information.