what drive configuration is your boot system installed on (FUSION: SATA/ NVMe working as 'one' disk), SATA only, NVMe-PCIe only
can you be any less vague about what do you mean by "died"
if one of the Fusion drives failed -- your data are probably unrecoverable -- it doesn't matter if the Mac is otherwise in good health, in my experience
if the machine is dead, but the Fusion SSD/HDD set is undamaged -- you would most likely need to pull both drives and install them in another iMac to access the old user data
there may be a chance you could mount both NVMe/SATA drives in enclosures (and they mount as one volume) ... but I've never tried that, in fact it sounds a little sketchy -- I do have both types of enclosures as the Apple SSD requires a rare connection
if the machine is dead, and your solo NVMe Flash or SATA SSD (or HDD) -- no Fusion software is linking them together -- you should be able to pull it and mount it in an EXTERNAL enclosure and point Migration Assistant to it
BEST CASE SCENARIO you have a good TimeMachine or clone BACK UP (and a working external enclosure -- my goto SATA enclosure is Newer Technology Voyager S3 (from macsales-com OWC)
then Old Toad has already put you right on track (Migration Assistant is fairly easy once you have worked out the learning bumps)...