If you believe the IAC is the problem, you can clean it. Usually they get gummed up from the crap that the air filter doesn't completely filter out.
Remove the air intake hose from the throttle body, start the engine, and periodically squirt some carb cleaner down into the IAC orifice.
The IAC doesn't function once the throttle is moved, so you can't rev the engine while cleaning out the IAC.