Yes, in my dream, once. A woman who was like a mother to me died. I was and am still crushed. Two months after her death, she visited me to say goodbye and congratulate me on graduating high school.
At the time and for years afterwards, I thought it was real. It was, the dream that is, as well as the experience in the dream. But that's what it actually was-an experience in a dream, NOT a real life experience. I now understand the difference and accept that. The difference is also real.
When I stayed in a haunted B&B in New Orleans, I was told that I can have guests if I want. Well, nowadays, I realize that those "guests" will be there if I want them to be. I could "see" what I wanted to see if I choose. I tried but nothing happened.
It took some time for me to accept that there is no afterlife, even if I want there to be.