My thought was to serve a 307 (or some other redirect HTTP code, clearly I am not a web developer) instead of a 404, not to serve the found content “as” the url that didn’t exist.
But agreed this would not be good general practice. It was mostly a thought experiment.