Assume the sun is a nucleus and planets, maybe moons too are electrons. There are no Coulomb interactions here, but instead gravitational forces between the planets and sun. The planets have an exact orbit around the sun (location is known), this is not the case for electrons. So it’s not really the same.