Relativity works when earth is the center because it’s relative, we just calculate everything with earth as the frame of reference. It does make a lot of math harder, but that’s what we already are doing when using earth based telescopes (although we try to shift the math to a more reasonable frame of reference for most stuff, but earth is always the starting point because we’re making all the measurements from here)