Yes if you buy as investment property, move in as you PPOR, then move out again - and start renting it again - it can return to having all the usual tax deductions associated with an investment property. No tricks or traps that Im aware of.
You need to consider how you are going to structure...