Hi,
Could you please elaborate what actually you want to do. Since Flash Loans need to be implemented on a Single transaction.
It would be required to write a solidity to batch all the transactions in one but we need to take care of the GAS fees and 0.09% interest rates on Aave protocol. But first i would like to understand further your steps...
Best Regards,