Know & accept this 1st: By the time you factor in the cost of construction/installation & maintenance/upkeep, you'll
NEVER make money on a pool when you sell your home.
Once you've done the above, the next question I would consider is, how often you would use it compared to the time/money required to keep it in working order (chemical levels, water evaporation/refill, electricity usage for vaccuum/pool pump/ accessories, manual skimming of debri & regular brushing of dirt that settles in areas vaccuum has trouble hitting like stairs, radius, etc., wall brushing for water line film & dirt that clings to the walls, repairs of various parts that will break down over time due to exposure to chemicals).
Do you have a community pool that would suffice?
For our family, the pool (& child safety fence) was existing when we purchased the home. But that required a thorough inventory of what repairs needed to be done, etc. We have two kids so we swim alot. Sometimes we will still go to the clubhouse pool for socializing.
It's still a constant battle to keep it clean, keep the skimmers emptied, the vaccuum bag empty, etc. I've spent money to remove a few pine trees that were near the pool to reduce the amount of debris dropped into the pool during spring/fall. I've replaced vaccuum & hose pieces numerous times, pool pump motors, etc.
If you decide to move forward with the install you should also budget for a safety fence around perimeter and/or a safety cover. I would recommend spending the money to upgrade the safety cover to a leaf cover for the off season to cut down on cleaning required.
Also consider landscaping/vegetation that will be installed near the pool. Palm trees are popular but "require" annual trimming to prevent germination debri from falling into pool and clogging pump. Sago palms require pruning and will catch pine needles in a way that seem to only be removable by hand.
Hope this helps.
Thanks & Gig 'Em