The 22's take a 20 inch shaft.
A 25 will project down further enough to give you more drag, slowing the boat, and the longer lever arm will try to lift the bow. You will also draw more water, making shallow water operation more difficult.
Noto too much of a problem at displacement speeds, but at planing speeds, particularly higher ones, the boat may behave with a lighter bow, having a greater tendency to porpoise, and turn differently, probably being a bit squirreley. (sp.?)
Would work, I guess, but one would have to be careful.
If you really want to use that motor, try raising the transom 5" by adding to it, with adequate reinforcement.
Good Luck!
Joe. :teeth :thup