Yes! Adding an extra bedroom for your growing family or building an income-generating apartment or vacation rental in the basement is a popular choice. To be code-compliant, you need to include an egress window in all basement bedrooms. This type of window must be at least 24 inches tall, open to 5.7 square feet or more, and be installed within 44 inches of the finished floor.