Yes, some steam cleaners have specific attachments and settings for cleaning carpets. These attachments allow for deep cleaning and can effectively remove dirt and stains from carpets. However, it's important to check the manufacturer's guidelines and suitability for your carpet type.