There was a sci-fi story that explores this idea. The person who wanted to live past their death had to transfer their assets to a trust controlled by the person derived AI (uploaded consciousness in this story) in a roundabout manner. The person was legally dead.

Edit “Mr. Boy”

https://en.wikipedia.org/wiki/Mr._Boy