Thanks Tony, I'll test it if you think I won't damage either the fan or the switch.
The fantronix site has dimmers to control fan speed but not actual light switches. At least I couldn't see them.
We can have sockets at least 60cm from the bath or sink over here. Just within reach.