No. Celestial mechanics explain the movement of stars under the effect of gravitation.
The reason why we have Eclipses is because the sun and the moon have the same size (from our perspective)
Celestial mechanisms don’t explain why they have the same size, its like finding a shoe that fits fits your feet in your drawer, you would be justified in concluding that whoever put those shoes in the drawer intentionally choose that specific size of shoes, it }would have been unikely that the shoes where selected randomly and that they happen to have the “correct size” by chance
............
If the force of gravity would have been different they wouldn’t have the same size
If the initial amount of matter in the “proto solar system “would have been different they wouldn’t be the same size.
If the density of matter would have been different they wouldn’t be the same size
If the rotation of the earth would have been different they wouldn’t be the same size
If the distance from the sun would have been different they wouldn’t be the same size
…..+ hundreds of other independent variables that makes this phenomena possible.+