Yes, rats can nest under solar panels. This is because it is warm and protected from weather and predators. They will get under the gap between the panel and the roof. This leads to unwanted noise and damage to wiring.