I've had many similar thoughts on the topic of death in recent months.
The solution I came up with was to comment my thoughts on everything on public forums such as this one, any time I can, for as much as possible.
Everything you post on here is distributed and recorded through thousands upon thousands of federated servers around the world, and as long as you don't delete them, these comments will be there, long after I'm gone.
And the web scrapers used for AI large language models will inevitably pick up my words and thoughts here, and a small part of who I am as a person will always live on, compressed within these LLMs.
Yay