I definitely agree with
@Rockgirl4 that more elevation really helps with getting better sleep. I would ice for at least 45 minutes with either a three pillow stack or a Lounge Doctor, then keep the elevation for at least my initial period of sleep.
In addition, sleep whenever (and wherever it's safe and comfy!) - many of us sleep and/or nap in a recliner, or surround ouselves with soft pillows.
Icing, elevating, napping.... All help, but you might also consider some nonprescription remedies....
If you're lactose tolerant, a glass of warm milk! If you're not diabetic, a teeny bit of honey makes it even more comforting... plus milk is high in magnesium! Helps us relax!
If you aren't a milk drinker, or want an easier way to, an evening magnesium supplement has been very helpful for some members.
OTC diphenhydramine, an antihistamine also used as a sleep aid (Benadryl) because it makes you drowsy; it's also included in some cold, flu, etc "nighttime" combination meds.
Low dose melatonin, sustained release - not for long term use but I have used for a week at a time without ill effect. It should be taken an hour to hour and a half before going to bed, and during that time stay in a dimly lit area to allow this hormone to activate.
Valerian root - an herbal remedy, it can be taken in capsule form but that dose might be high compared to my preference, herbal "sleep" blends that include a smaller dose of valerian and make me pleasantly drowsy. Plus the other tea flavorings make it nice tasting! Celestial Seasonings and Traditional Medicinals sell teabags by the box. Their sleep blends without valerian have never ever made me sleepy.
What finally worked for me: a mug of sleep tea with valerian followed by a 3 mg sustained release melatonin, immediately going into a dimly lit room and relaxing. When I got sleepy, turning off the light and lying down with my legs up on the Lounge Doctor. After a few hours I would wake, move the Lounge Doctor away, and sleep more.
Be aware: even benign herbals and supplements can interact with your routine or post op prescription meds, either making their effects weaker or stronger. If you're on meds you may want to check with your doctor or pharmacist, or even check online for interactions.