I have had that response from an antihistamine. It was a result of trying to deal with these seasonal allergies that are troubling me now - but, was years ago.
Take these antihistamines during the day and be drowsy, I was thinking they would be okay at night. After a couple of weeks, I was having sleep trouble.
Usually, I have no trouble falling asleep. It's staying in any one position very long that awakens me. For a long while, I have not bothered with an alarm clock. I'm just awake so often at night and get up after a few hours.
If pain meds are a possibility, don't overdose, drug-induced sleep isn't likely to do you much good through the daytime. Still, losing the aches and pains for 8hrs may do the job. That, and some really boring but impossible crossword puzzles. I concentrate on my breathing. Can't get much more boring than that ...
Steve