I sometimes see the opposite.
We took an app written and maintained for the last 10 years in language A, and re-wrote it from scratch in language B.
The new codebase is smaller, more maintainable, and runs faster!!!