Well we already know that sometimes you can get prescription marijuana pills if you are hospitalized. You just cannot buy it over the counter.
Two points: 1) Smoking marijuana, it is much easier to titrate your dosage: i.e. get the right dosage, as the effect is much faster.
2) One of the main uses of marijuana, medically speaking, is control of nausea. Taking pills to control nausea just doesn't work.