oh well, depends on what you mean, there's for sure certain limitations, but the higher level/layer we go on bitcoin, the more is possible, and it's a feature bitcoin and lightning are per se smart contracts check out bolt.fun or if you are not satisfied come up with another solution