It is not recommended as the water from your clothes needs to go somewhere, and if it isn't vented outside, the water will go directly into your home, causing harmful mold and mildew. If you do not want to vent your dryer outside, use a condenser.