I think it would be possible with USDT on Liquid and a cross chain swap, however, my proposal above is something different. You would borrow bitcoin against bitcoin. This can be done purely onchain and in a trustless manner.
Oh I see. Yes, this sounds similar to my loan shark project:
reply