That’s another subject but I’ll tell you it is very unlikely. There are several other evidences for cosmic expansion than just red shifting, and they’re all in agreement with one another.
The Wikipedia article on the subject seems to lean heavily on red shift as the sole observable basis for the claimed expansion:
https://en.wikipedia.org/wiki/Expansion_of_the_universe
The other “proofs” appear to be mathematical and not empirical.
In addition the claim that gravity has local effects but that does not stop expansion at large scales appears to be in conflict with Einstein conceptions of gravity (since of course curved space time is everywhere under the theory).
Imho modern physics is busy pounding square pegs into round holes. Claims of poorly defined (and not empirically verified) “dark matter” and “dark energy” look ripe for being overturned by future observations and theory.
(That said I do not claim to have a solution to these issues.)