Do you have backups? If not, go get those Right Now.
Please run and then post the EtreCheck data. Post this data, and give folks here a change to sort through that before proceeding. This may well be something installed that’s getting in the way, or that has corrupted macOS.
You’re rebooting with Option-Command-R, not using that within Safari. The blue text shown around here is a link. Click on it for more info. I had previously linked to the how-to-use-Recovery information.
If Recovery isn’t working, then this is probably either a problem with the Mac hardware, or with the cable or however this Mac is connected. Swap the network cable to the switch, if you’re using that. Reboot the Wi-Fi, if you’re using that. But if you’re trying to use the Option-Command-R chord in Safari, that’s not going to work.
If your Mac can’t reliably connect to the network, that’s going to have to be addressed. But having backups, and having some configuration information can help get there.
If still having issues with the network, use another Mac, download macOS and and build a bootable installer, and boot and use that to get into the installer (and into the equivalent of Recovery, if that becomes necessary):
How to create a bootable installer for macOS - Apple Support
I’d use that bootable installer and Disk Utility that’s available there to get a backup to external storage. If you cannot get that backup any other way, and do not have a current backup.