Yes and no. It’s possible for a child to sleep in a playhouse, but it’s possible that the house (if cardboard) could collapse on top of your child. It’s not generally recommended, but if the playhouse is a tent-like structure, it should be safe for a nap.