No, whether you fix the interest rate or leave it variable has no direct bearing on the amount of tax deduction you will get.
I think you are referring to choosing an Interest Only (IO) loan rather than a Principal and Interest (P&I) loan.
IO loans are just that - you pay the interest...