There's a brief history of morphine here and does seem to indicate that, while opiates had long been in use, injections of morphine, and the subsequent addiction, began with the U.S. Civil War.
Possible scenario (?):
Someone plays a tune called Soldier's Joy. A veteran says, "I'll tell you what real Soldier's Joy is..."
It's a thought.