While you will be able to play it, even the fastest current IMac won't be able to run it anywhere even near the max settings.
If you are in the market for an IMac, I highly recommend waiting just a couple of days until early January 2009 when Apple will probably release updated IMacs. The only weakness of the current IMacs is gaming, spceifically the Graphics card.
Doc