I used a HELOC to buy my first rental property, but ran into a major glitch. When I transferred the property into my company, the bank recalled the loan. Every mortgage of any type has a clause that allows the lender to recall the loan if the property is transferred, even if the borrower fully owns the company the property is transferred into. Since companies can't get mortgages, the lender requires the loan be in your name. But, you want the property in your company for liability protection. So, after you get the loan, you transfer the property by quit-claim.
Since then, I have bought many properties with regular mortgages and had no problems switching the property into the company after getting the loan. I've asked the brokers about this and they all have said, as long as the payments are made, they will not foreclose. I even make all loan payments in my company name.
That first HELOC was from Wells Fargo. So, not sure if the cause for foreclosure was because it was a HELOC or a Wells Fargo policy.