Can I deduct additional debt after refinancing?

I refinanced a home mortgage in 2017 after a divorce in that same year. When I refinanced I added some debt, however, a large portion of it was a pool loan. Can I add the pool loan amount (remainder) to the original mortgage for interest deduction?