Each time you upgrade your macs OS it is a good idea to create a bootable USB for the new OS.
A 2011 iMac can only upgrade as far as macOS High Sierra.
As you have another MacBook I would follow my instructions to download the OS that your mac was using earlier
create a bootable USB installer as described in the article linked to earlier.
Use that to run First Aid from Disk Utility to see if that can resurrect your mac, maybe too late as you
have started this Internet Recovery nonsense.
My only concern is newer macs running OS's like Big Sur or Monterey no longer allow you to download older OS installers. (Apple being their usual helpful selves). But don't let that stop you from trying
I may be wrong.
I have never had to use Internet Recovery because I make bootable USB installers.
If you still want to go ahead with Internet Recovery then I would stop it now
connect you mac to your router via ethernet cable and try again, the length of time
should be greatly reduced.
If WiFi is the only option then have your iMac as close to the router as possible
and if at all possible try not to use any other devices that share the same internet connection.
If you can't do that then try and limit the use of other devices to light duties.
No big downloads or streaming movies or TV.