Sure but as you suspect.
It won't be that useful as the iMac didn't start. I use that cable a lot. It's in my bad of tricks which includes some USB WiFi and Audio sticks along with that cable so we can rescue files off the PCs and Apples.
I'm a little bemused at your last question. Since the iMac doesn't start, why would I plug this cable in there with the HDD?