Yes, a dwelling, house, building, or accessory building may be utilized to effectively enclose the pool.