Again, and in more direct terms, muchoreef:
The osmotic shock involved in the FW dip you are propounding on
(the very same osmotic shock that impacts unwanted nudibranchs)--
that osmotic shock will damage and even kill outright much beneficial flora and fauna (on/in the LR) ---most of such are more delicate than the target slugs.
If the rock is small and fairly devoid of such beneficial hitchhikers, except (of course) maybe
nitrifying bacteria, then the collateral damage will be low. A stable enough, and large enough reef system can cover for both the loss of nitrifying/denitrifying potential, and any nutrient spike ensuing from the death of the aforementioned flora and fauna.
Again, there is a need to screen the soft corals, substrate, rock superstructure and practically every other surface that the unwanted nudibranchs may frequent or have left their effects (egg strands, progeny, etc) on. Should we then flush the whole tank with FW?
Just having fun --the point I guess, is to select all the most infested rock and dip, as well as dipping the affected corals. This is done repeatedly until the infestation disappears.
Just be aware of the impact on the rock being exposed to FW.
horge