Yes, memory foam is excellent for back pain because it contours to your body, alleviates pressure points, and promotes spinal alignment. However, it’s important to ensure the foam firmness is supportive enough for your weight. For example, if you weigh more than 230 pounds, look for a mattress that is medium-firm to firm. If you’re a side sleeper, you may need a softer option to provide cushioning for your shoulders and hips.