Cyber funerals are now a thing and are carried out to close down social media accounts, manage search engine results and stop identity fraudsters from virtually resurrecting the deceased for their own personal gain.
https://www.itproportal.com/features/why-a-digital-duty-of-care-for-the-bereaved-is-crucial/