Generally, yes, your line of thinking is valid. It is commonly done one year in advance where people itemize every other year by bunching deductions - usually property taxes and charitable contributions - to exceed the standard deduction in say, even-numbered years, and use the standard deductions in odd-numbered years.
I'd contact your local property tax authority to see how far in advance they will accept payments for. I'd be surprised if they would accept it for more than about a year in advance. For one thing, they don't know what your property taxes will be next year, and they are probably not set up to carry over a credit. But they might be.
Usually if I think there is a way to make a risk free return, it means I haven't thought about the risks. I will point out some risks you haven't mentioned. Maybe you'll find them reasonable, maybe not. Food for thought:
1. Tying up that cash in prepaid property taxes means you can't use it for other investment opportunities that may come along in the next X years that you've prepaid. These other opportunities may be even better.
2. There is a chance that property taxes will continue to be deductible. I agree with you this is small, but your prepayment strategy is making a bet that may not pay off.
3. If you sell your house in the next few years, it increases the amount of cash your buyer has to bring to the table because they'll have to reimburse you for those prepaid property taxes. That may be a disincentive to your buyer if they are cash strapped, and may make it harder for you to sell.
4. Your local taxing district may respond to the changing tax climate by changing property taxes. What if they get rid of property taxes and move to higher income taxes - will you get a refund?
5. Depending on your tax situation, your itemized deductions may be reduced if you have a high income - see line 29 of Schedule A. So it may not be as simple as multiplying your marginal rate by your deduction amount.
I don't mean to be a downer - it still might be a good idea for you - I just think it is good to carefully examine apparent "risk free" returns to make sure that it is likely to turn out the way you hope it will.