No problem. It's the purpose of the loan, not the security that matters.
No.
The original purpose of the loan is to buy an income-producing asset, so the loan interest will be tax-deductible. As others have pointed out, when the asset become a private asset (your PPOR) then the interest...