you can talk to people and they will say things back.
I don't know what goes into programming for these things. I could guess it would be a massive undertaking.
Unless you are thinking similar to old ultima games. It wasn't exactly "talking" but responses based on key words. (I'm old, ultima 7is all I remember before RPGs became either hack-&-slash or reading books and I walked away from the genre)