I did it last week with my 2017 21.5 inch iMac. Took out the fusion drive and dropped in a 2TB Crucial SSD.
iFixit has a step by step guide (link below), and just as importantly, sells you the tools you need, including the replacement adhesive strips to re-attach the screen. Their price for all the tools you need is in the $60 range.
At any rate, as long as you're careful and patient, the upgrade is really not hard at all. And now I've got a wonderfully massive and fast SSD in my iMac and it's running great. I highly recommend it.
https://www.ifixit.com/Guide/iMac+Intel+21.5-Inch+Retina+4K+Display+(2017)+Hard+Drive+Replacement/92700