Can I connect a cord and a GFCI outlet box to another GFCI outlet to power a pump?
It might work but would not be code compliant and with 2 GFCI’s on the same circuit you may have nuisance tripping. If you test the GFCI at the box it may trip that one and the one inside.