Yes, Lonavala is completely safe to visit during the rainy season as there aren't many hills or inclines there. However, in some locations, you could see some traffic when it rains.