Yes, a carpet cleaner can be used to clean a sofa, especially if it has upholstery attachments. However, it’s important to use the right cleaning solution and settings to avoid damaging the fabric.