We're built on the bitcoin base layer, not a side chain!
This is possible using DLCs - which are what I like to call "fancy multisigs" that can be used to encode financial contracts on chain.