Is it possible to do atomic swaps in a single transaction?

Hello,

I reviewed the documentation and identified that the sole method for exchanging assets for BTC is:

  • createDispenser + sendBtc = 2 transactions
  • 2 x createOrder + payBtc = 3 transactions

The limitation I observed with both solutions is that they require more than one transaction to achieve the target, which is not an efficient solution. Additionally, these solutions are designed as 1-1 exchanges and do not consider the possibility of covering platform fees. In such cases, would it be possible to attach these fees to the counterparty transaction?

My main question would be: Is it possible to do atomic swaps in a single transaction?

Thanks