Yes, because that would be taken out to "buy" your home. Any interest used to buy, build, or improve your home is deductible.