It’s generally not recommended to sleep with a compression bandage on unless specifically advised by a healthcare professional. Compression bandages are typically used to manage conditions like edema or venous insufficiency, and they should be applied and removed as directed by your healthcare provider.