No, it's not bad because it's a natural habit for cats to sleep or nap in a safe and quiet place. A bathroom is a place that can be considered peaceful and quiet in your home. So the cat feels comfortable and good sleeping during daytime and night time there.