It depends on the cleaning agent used. If you have used natural cleaning agents, the waste can be composted. Avoid composting chemical-based products.