Not necessarily.
My power circuit comes out of a 2 gang box I built. When I turn on the switch side the receptacle side becomes hot and turns on the GF and Fan.
I am sure there are commercial versions for those not electrically skilled.
https://www.lowes.com/pd/GE-20-Amp-1-Pole-Non-Fusible-Enclosed-Molded-Case-Switch-Disconnect/3128737
This is the closest I could find in a store and is kind of overkill, but it gives you an idea of what a 2 gang box would look like once made and all you would need to provide is a cord to plug into an existing circuit…
Also note, if one side of the 2 gang box is a switch/receptacle then you would have 3 places to plug into instead of two, but I wanted a heavier duty switch than is provided in the switch/recep combo receptacles.
Any of the smart wiring devices common today would do the job, or so I would imagine.
Goal is simple. Two circuits on/off from a single switch.