Sometimes.
But being in the development field I see how many times management simply doesn't see or want to acknowledge that using old, bad solutions that have hacks over hacks over hacks and throwing money at fixing issues is significantly more expensive than re-writing from the scratch.