No Ethernet even in macOS Recovery mode

Yes, according to your tests and observations it sounds like the Ethernet port in the iMac is physically damaged.

This could happen due to some sort of electrical issue such as a transient or similar spike of electricity. Perhaps it was lightning weather around the time it happened - perhaps it was a malfunction in the router - perhaps it was just tired hardware in the iMac.