No, because distribution sets the structure forever. The ideal structure is usually a decomposition of the functional requirements. If the requirements change, you will also have to change the modular structure of your software.
If that happens in a distributed system, there will mostly not be a refactoring, as restructuring the code is hard for a distributed system. So you should rather stop erosion, but keep refactoring an easy task at the same time.
You do this by using a tool, that checks if the structure of your software still follows the conceptual idea. Possible Tools could be
Teamscale or
Sonargraph.