Lots of people, my fiancee & I included, let their pets have the run of the laundry room. It's a good place for the litter box. That being said, important to take care your pet doesn't come in contact with dryer sheets, or liquid fabric softener. Dryer sheets contain chemicals that are toxic to your pet. Don't use them on your pet's bedding. All laundry products should be stored out of your pet's reach. We have a cat. His litter box is in the laundry room. All our detergents, fabric softeners are out of his reach.

[The Spruce]