Of course, it has downsides—the length of the fast matters a LOT. Too long, and it’s starvation which has considerable downsides as I’m sure you’re already aware.
The biggest takeaway that I’ve gotten recently is that our bodies are literally designed to take fasting into account. Specifically, our vascular system is terrible at doing cleanup and nutrient delivery at the same time. So it needs ample time to do both.