Something like that is achievable with a presigned timelocked transaction, no lawyers involved. Of course the heir has to be able to publish a presigned transaction. The UI around all this could be better.