Swimming pools usually contain plasticizers that are toxic to fish. You can however condition the pool over time so this toxic issue is not a problem. A new pool would have to be conditioned.

They do make swimming pools that are "fish safe" for aquaculture purposes.