The closest thing to that is scene detect, where instead of treating the entire clip as 1 it does optical flow on a scene by scene basis which will stop the distortion on cuts but what of transitions and fades. That will still be a problem I think.
There is another alternative: try REVision Twixtor. This is a famous plug-in for frame interpolation, which has its own unique algorithm different from optical flow and is generally considered as the best in this field (except AI algorithm).
Twixtor has a parameter "Motion Sensitivity" to control the picture distortion.
It's like with stabilisation, you stabilize each clip separately and not a whole movie at once. So I'm with @Former user that scene detection is a must before starting resampling a whole movie (which I still doubt is necessary todays, to convert NTSC-PAL)). Even the free app Flowframes https://nmkd.itch.io/flowframes used for increasing framerates (to get smoother motion) does a scenedetection before interpolating.