Yes, @rafmc98 have a look at this example HTLC Stateless Smart Contract for ASA.
Code overview
( (Scenario 1) OR ( ( Scenario 2 ) OR ( Scenario 3 ) ) AND Fee)
( ( Opt-in ) bnz ( ( Time Lock: ( ASA || Algos ) ) bnz ( Hash Lock: ASA Only ) ) && Fee )