You can do it, but you shouldn't do it.
Possible issues:
-pedal to ground distance just got shorter by 2". Possible ground strike problems when turning.
-if the bike has rim brakes, they won't align with the rims
-if you don't already have the wheels, buying them makes no sense. It would be...