Yes the movie was vaguely inspired by the science.
The AMOC has been studied for a long time, including the effects of its possible weakening.
Where the movie is firmly in fantasy land of course is in the timeline, where the effects are nearly instant rather than likely over decades in reality.