Deductions & credits

Of course you can, it's your money.  Can you deduct any interest you pay on it?  No, not after you no longer own it.