Once you have an event in an interval, you can reply to that event creating a chain of events. This is essentially a personal verifiable blockchain secured by bitcoin. That's how to do smart contracts on nostr and bitcoin. There is, however, not much appetite for this.
Discussion
what type of thing could you do with this? it sounds cool but a bit too esoteric to me, I'm not a dev
what would you build if you could?