You don't mention which exact iMac you have, but a hard drive can always be taken out of an old machine and used in a case. Check out the guides at iFixit for details on taking your machine apart. If it's not listed there (older machines), you can probably find the manual at Apple's site.
Steve