Yes. You can define this pretty easily using miniscript which compiles to script. Some day, someone will make composing these scripts something you can do with a reasonable UI.
Question about bitcoinscript Maybe nostr:npub10vlhsqm4qar0g42p8g3plqyktmktd8hnprew45w638xzezgja95qapsp42 can elaborate
I want to send my bitcoins to output utxo which can either be unlocked by the private key or after a certain blockheight. This way miners in the future could get my bitcoins long after I am passed away
Does such a script already exist?
Discussion
What you think about this idea. Does it make sense to you?