Unless used for sedation, the maximum recommended amount for phenergan via the IV route is 25 mg. I've had enough experience to know that 25 mg IV can knock a person into la la land for a good long time, depress their respiratory and other generally unpleasant things. It's useless as a pain medication, it does not "potentiate" anything... all it does is sedate the patient and prevent them from being able to receive any other narcotic pain reliever, again due to it's sedative effect.
IM is not a route to be used for routine pain medications as it is generally unreliable with regards to absorption.
I would think a long acting oral medication, along with an antiinflammatory and possibly a second shorter acting narcotic for breakthrough pain would be preferable to IV medication... definitely preferable to IM anything.
Good for you to notice how inappropriate this order is, not to mention painful for the patient!
(btw... I was thinking exactly what you were, Canoehead..."graduated from morphine to demerol"

)
Nursing News