social recovery wallets [1] may be a solution to this problem.
Eg. The hashed list of emails. It's going to be a hard reality check if some of your "friends" don't have access to their emails anymore or just aren't friends anymore after x years. The amount he suggests is 7, which is insanely much. Even people have issues with their parents with money alone.
It's a nice fantasy though, but not workable in reality.
So it's not that hard to distribute several keys of the multisig to various heirs, who would have to agree on any transfers of funds. Another option is to keep each key in a different safe deposit box, with a will stating who gets access to the boxes.