Can a GFCI be wired to run of a switch?
If your question is can a switch control a GFI receptacle, the answer is yes.