Yep, you just take the original out and put the new in. I have crucial in mine, and have never had an issue.
The iMac is also pretty sweet. My dad has a 27" and it is a pretty sweet machine, beautiful screen, quiet, plenty of power. I'll probably buy one when I can afford it, or have a need for it.