A single receptacle is the solution for a sump pump in a basement bedroom and a plug for a microwave in a cupboard. Someone could unplug either of those, too.

Of course you can use a gfi but do you need to?

If you put a receptacle in the vanity, are you breaking the rule about a plug in a cupboard?