No doubt. I was pleased to the Nunchuk Wallet has an integrated inheritance system so you can setup a plan that will allow your chosen heirs to access funds you have earmarked for them. It will prevent the very issue you describe.
Discussion
Yes, inheritance plans are a very important part of the Bitcoin journey, but this post is about people who will knowingly die with their private keys by choice.
Those coins will effectively be lost. Which I think is a shame for the Bitcoin ecosystem. Because we've got finite amount of coins, and coins that are lost have an impact on the total number of coins in circulation. I hope people who choose to die without making arrangements for their coins are few.