Is there anything in the NEC to prevent the installation of a washing machine in a bathroom?

I'm assuming that the room is big enough to get a suitable distance from the tub, and I also assume that under the current NEC the recept. would have to be GFI protected.