Tramadol is an opioid and a prescription pain reliever. That is the reason Tramadol can be used as a muscle relaxant but does not help with inflammation. Similar to medications like morphine, codeine, and hydrocodone, tramadol is categorized as an opioid narcotic substance.