Smart contracts & zcash

quick question: noticed smart contracts will be (eventually) deployed on zcash. could a smart contract be built to enforce an XCAT conversion?