Using soap in bed can be safe when used properly. However, it's important to be cautious and follow the manufacturer's instructions. Avoid applying soap to open wounds or broken skin, and discontinue use if any adverse reactions occur. As with any product, it's best to consult with your healthcare provider before using soap in bed for back pain.