Yes. In Hamlet, the protagonist speaks with his father's ghost and vows to avenge his murder. The encounter (Act 1, Scene 5) sets the entire tragedy in motion.