Especially pills containing acetaminophen, which itself produces toxic by-products upon combustion.
If you want a codeine buzz take them by mouth, as they were designed. Don't expect much from them anyways though as codeine is a weak opioid.