Works pretty well for some of the more potent opiates. Advantages are -increased bioavailabilty - some of he opiates do not do well passing through your digestive tract as I believe - the chemical must make a circuit through organs that break it down before it gets to your blood brain barrier. The difference is striking between eating a pill, plugging, snorting and shooting.
That all depends of course on the pill in question, some are quite available by eating.
There is also the differerence in rate of onset. Eating usually yields the least rush - sometimes that is a good thing, sometimes not. Snorting in my opinion is second only to IV in rush producing potential, plugging (I am a relative newbie on that one), although theoreticaly it should be very strong, doesn't seem to work that way for me, though I tend to get higher, depending upon the chemical. Smoking is really the best - it allows you to titrate your dose without the loss in rush (if you get a rush from a pill, it is unlikely you will get another from a second pill - you are best quitting at the first one),
But lots of people dont like smoking pills - and smoking has an inherent loss rate that you don't get in any other method of ingestion..