As people stated above, yes, but what I have heard is the unit takes a long time to dry the clothes, because there is still water in the drum after the washing cycle is done. Not a lot, but it’s wetter than putting just spun wash into a totally dry dryer. If you’re tight on space I think it’s still better to get a stacked washer and dryer. Just my opinion from what I have heard.
One good thing about the single unit is not pulling wet clothing out of the washer, which can be a strain for people with back troubles.