Precisely, you can do it. It makes sense to do it only if your total itemized deduction is greater than the standard deduction.