In fact bitcoin's cousin, Ethereum, is all about digital contracts.
But there could be cases, where people lose their keys or die, without making a will. We can easily foresee, that in this case software could accommodate cases, as exceptions, where identity is otherwise attached to the public key.
But a will contract can be put on the blockchain, and its a step forward, IMHO. Just today I learnt about OverStock's t0[1] trading on the Blockchain using colored coins (which is supposed to bring down the settlement of stocks to T+0 from T+3. Just stating this example as a case of progress enabled (or made possible) by the blockchain.
Likewise, Blockchain will make wills better i.e. enforceable and crisp via a program hence more specific. But as of now, its not a replacement for judiciary definitely. That's why I said its like version 0.1 of what's possible.
[1] https://t0.com/
Edit: The link to t0