Kitty sleeping arrangement

Haley
So ever since I got my first kitty. She's had a room to herself. A room with food bowls and litter boxes. When i got my other kitty that was her room too. I have two dogs as well and they're not allowed in that room. I lock the cats in the room at night. Is that wrong ??