From IRS Publication 590:
"Prohibited Transactions
Generally, a prohibited transaction is any improper use of your traditional IRA account or annuity by you, your beneficiary, or any disqualified person.
Disqualified persons include your fiduciary and members of your family (spouse, ancestor, lineal descendant, and any spouse of a lineal descendant).
The following are examples of prohibited transactions with a traditional IRA.
Borrowing money from it.
Selling property to it.
Receiving unreasonable compensation for managing it.
Using it as security for a loan..."
HSA's are not eligible to be used as collateral for a loan either.
_________________________
Opinions my own.