This is a great idea. Is there any development focusing on this matter? Or is this still an idea at the moment?
But I'm not sure if Bitcoin would be able to support this, it should require more complex script, isn't it?
There's no reason to do it at the protocol level. Dead man's switches for Bitcoin inheritance have been a topic of discussion for years. Here's one interesting approach to the problem.
The simplest way to do it is to use nLockTime: Make a transaction that pays your inheritors in the future and reveal it to them, then periodically spend those coins before the timelock triggers (every 6 months or something). Rinse, repeat. When you die, the coins will finally be transferred to your inheritors.