Yep.
I have a book from 1895 (I really like old medical books) anyway, it is mostly about women/babies. One of the suggestions is to rub opium liquid on the babies gums when they are teething. According to the doctor is eases pain and helps them sleep - yea duh!
Laudanum and Peregoric