i was just thinking about that question the other day.. i think you're thinking of THE JACKET. like, this one guy was put in a straight-jacket for hours at a time and he was doped up... they put him in this cupboard for hours on end and he has like, flashbacks where he actually lives the past. pretty sure.. good movie for sure!