Normally it should be. Mac OS(X) is only architecture specific aka PowerPC processors.
All other hardware should be exchangable and usable, IF you use other filesystems as reiserfs, ext3 and others for linux, or
evil ntfs, fat32 to windows, if to another mac hfs or hfs+.

Anyway first your bios needs to see it .... normally the rest shouldn't be a problem.