AI now allows us to build and communicate with digital avatars of the dead. These so-called ‘deadbots’, ‘ghostbots’, ‘postmortem avatars’ or ‘griefbots’ may provide comfort to some (including those doing legacy planning), but they raise difficult ethical questions