Yes.
if you are talking about say $100,000 in savings in the offset this would give you around $5000 extra in deductions each year.
If you used the $100k to invest you would pay $5000 more interest on the home loan and this would not be deductible.
But if you paid the $100k off the home...