Not really. One way you could approach this is by storing a few pre-signed transactions that transfer your funds to your heir, that have a locktime of a few years.
That way, the funds can't be spent before that timelock (and you could just spend the UTXOs, invalidating the pre-signed transactions), and the timelocked transaction can only be mined after that locktime.
Another way is Liana https://github.com/wizardsardine/liana, that uses a script address that can be spent by a secondary (heir) key after some amount of time. Liana is still WIP though.