Yes, but not in the way the question implies. In Ghost (1990), Sam Wheat (Patrick Swayze) is murdered early in the film during a mugging. The rest of the movie follows his ghost helping Molly (Demi Moore). The iconic ending shows his spirit ascending into the light after achieving closure—he does not "die" on screen at the end; he moves on.