is there any way to become undead or just have the story hinting at it in the end or in a dialog? is there any way to try to become any form of undead such as a lich even if just in text or being implied that the character will do so in the future?

hints of immortality by cure of aging is also fine so long as its not granted by an outsider or godlike being