Hi, continuous positive airway pressure in severe sleep apnea will reduce chronic pain sensitivity. You can also follow some tips to sleep with chronic pain :
Consume foods that promote sleep
Practice yoga daily
Take slow deep breaths to get to sleep and fall back asleep
Take a short walk in the evening.
Hope you will feel better after following these tips regularly.