You can. Only deduct (married) if you pay more than 10-15k of interest a year? Or am I missing something (itemized deductions is now at 20k limit or so).
Edit: and since you need to pay taxes on dividends in bank accounts, you would need something like 3.5-4% interest to match the gains from prepaying the mortgage at 2.75%?
Assume an inflation adjusted average return of 3% on your investment and a 20% long-term capital gains you end up with 2.4% return versus 0 to 1% for prepaying a mortgage.