This is a common trope in sci-fi, but I personally don't get the appeal. It's not talking to my dead loved one, it's just a weird technological puppet of them. An actual recording of their voice is much more meaningful, even if it's not interactive.
It actually already exists. There's companies that train AI on a deceased loved one's messages and then have them send texts back. They act as if they're alive and well.
that's kinda sad
That honestly sounds like it encourages a very unhealthy way to cope with grief.
see black mirror
It'd be interesting if it weren't for the current tech industry that would bend over backwards to find a way to use it for advertising purposes.
Ray Kurzweil discussed something like this on the Lex Fridman podcast. He fed all his late father's writing into an AI system and it's able to ask it questions and get answers that seem believable to agree with what his dad would have said.