Couldn't adjust to Sleeping on my back with leg elevated and head elevated. Pain meds help initially to knock you out because you are just tired from having the surgery itself and not sleeping in the hospital. Try to sleep whenever you can, afternoon naps etc. and then having something to read or watch if you are awake at night. I brought my laptop into the bedroom and watched The West Wing on Netflix from start to finish while I recovered. This kept my mind off me for awhile.
Good luck and let us know how you're doing.