AC compressor replacement, how much oil to add

If debris from a failed compressor have entered the system, then wouldn’t replacing the evaporator and not just the condenser be necessary to clean out the system?

There must be some kind of filter you could add to the system, or some way of flushing it out with solvent and compressed air rather than replacing all those components!

I have a problem where the AC condenser has a large amount of oil collected around the connection points because the O rings leaked. Now I don’t know how much oil was lost from the system.