If I have understood your question correctly, you want a wifi repeater in-between the esp and the home wifi connection.
You can accomplish that with off the shelf devices. (Routers that support third party firmware, devices boxed as repeaters, etc)
Or you could just use another esp. (like the esp32 wroom) and this github project: