Not with rewrites, transformations, or other poser tricks. With competent surgical changes. Every time.
Most enterprise software wasn't designed. It evolved.
Like a coral reef
— layers upon layers of legacy systems, vendor solutions,
and 'temporary' workarounds that became permanent.