I am hoping for are to be able to sleep on my sides. And in bed not on the sofa.
Have you tried surrounding yourself with pillows in bed? Worked like magic for me.
For laying on my side, I used a lengthy pillow between my legs. I purchased an inexpensive Body Pillow (about $10 from Target) which came in handy for me post op when I was ready to try sleeping on my side. I use it nightly to this day, over seven years post joint replacement.
Multiple bed pillows certainly help me get comfortable in bed, making it easier to fall asleep. You can experiment with different arrangements to find what works for you. Early into recovery I surrounded myself with them so I could rest a leg, or arm easily enough...whatever felt comfortable. Surrounding myself with pillows gave me the feeling of being swaddled and anything that feels soothing may certainly help you drift off.
Doing whatever you can to basically "set the scene" for sleep may be worthwhile. Make up the bed with your most comfortable bedding / blankets along with the extra bed pillows of different degrees of firmness. Try to block out the light if it's daytime. Minimize noise unless you feel listening to calming relaxation music, a fan, or white noise may help lull you to sleep. Make sure the room temperature is not too hot or too cold. Try to disconnect from the devices at least an hour before the targeted nap or bed time, so it's easier to wind down. Limit caffeine throughout the day and consider natural sleep aids such as Valerian, Chamomile or, Magnesium, my personal favorite, which can assist in muscle relaxation and nerves and promote healthy sleep (falling asleep and staying asleep)
Trying some relaxation techniques in bed such as deep breathing, prayer or meditation or even some gentle stretching may help relax your body and mind.
An article on Magnesium from our Library -
https://bonesmart.org/forum/threads/magnesium-is-a-star.20301/
Most large grocers carry a variety of teas such as Celestial Seasonings - Sleepytime Herb Tea,
Yogi Teas, Bedtime, Bigelow Cozy Chamomile, all of which may help you relax...at least worth a try.
Wishing you many nights of peaceful sleep soon...in your bed!
Happy November!