Swapping Borrowed Assets

Should be possible with flashloans + e.g. paraswap which would be very similar to what is currently done for repay with collateral and collateral swap.