Check out the ifixit tear down, you'll have your answer, including how difficult it is to open the iMac.
The flash storage is not an SSD in the 3.5" form factor but like Apple's laptops, it uses the blade formfactor. The hard drive itself should fit easy enough however.