No - Hampton Township requires a fence around all pools that are in-ground or semi in-ground. This applies to all pools with a wall height that is less than 48". Although there are options for commercially available for an automatic cover, that cannot be used instead of a fence. This is for safety reasons. The fence must meet all requirements in the 2018 International Residential Code, including being at least 48" in height, with a self-latching and self-locking gate. Pools with a wall height that is 48" or higher (above ground) do not need a fence as long as there is no deck or stairs leading to the pool. In that case, a flip-up/locking ladder may be used instead of a fence.