Yes, the loan should be deductible. Deductibility is based on USE of funds (buying an OTP IP), not source of or security for the funds. Conversely, just because you take out a loan against an IP doesn't make the interest on that loan automatically deductible: it depends on what you use the funds...