Well, "invoking ghosts" would not even be a denotationally correct term for what you describe. There are plenty of claimed observations of ghosts as well as explanations for their motivations (like unresolved issues in life). But being that most of us are skeptical of such observations and explanations it may be a rhetorically effective association for audiences that are sufficiently afraid of appearing foolish.
But then, there are always a couple of wise-guys out there that bother to think it through. Too bad.
Ghost, as in “ghost in the machine.”