Sleeping on the side is super comfortable. However, it can only cause misalignment in your spine and legs.
If you come from hip surgery, pregnant, or having sciatica and back pain, your pain can get worse over time when you sleep on the side.
A firm, comfy support in your legs to keep your spine, hips, and legs in a neutral position for a whole 8 hours of sleeping.
See scientific studies here.