You've already been given valuable info here.
Could you please state whether your planned purchase is a 21,5" or 27" .
I've completely disassembled, cleaned and refurbished several 27" iMacs for myself and friends, 2009 and 2010 models. I've been longing to do the same just to gain the experience on the thinner models from 2012 onwards, but so far one hasn't come my way.
I'm guessing that you may be tempted by the iMac you've seen due to a low price - probably a reflection of the defective fusion drive.
Perhaps not a bad suggestion by Fishrrman to look around for another which is fully functional, although it would make sense to get a newer model if finances permit and save yourself a lot of time and bother.
In my experience when you get the screen off, say a 2013 iMac, it will really benefit from a little more tender loving care than just an SSD change, as these fans can accumulate a great deal of dust, which clogs up the fan exit area, restricting the cooling flow and ultimately leading to higher cpu and gpu temperatures. The 3 fans on my own 27" 2010 iMac were in a terrible state, and whilst I had them removed I went deeper, removed the logic board and cleaned/repasted the cpu, replaced the PRAM battery (on the inner side of the logic board - for God's sake
), and installed a 500GB Crucial SSD with High Sierra. The iMac was transformed and still performs admirably, as does a similarly modded 2009 model that I also use daily. The idea of installing Fusion drives to the later Imac's was imho a definite
faux pas.