Replacing the HDD on an iMac is non-trivial. This is not only due to the fact that you have to unglue and then re-glue the screen, but there is also a non-standard thermal sensor on the Apple HDDs which you need to circumvent when putting a standard SSD in which doesn't have that sensor (if you don't, the iMacs fans will always spin at 100%).