I accidentally untarred archive intended to be extracted in root directory, which among others included some files for /etc directory.
I went on to rm -rv ~/etc, but I quickly typed rm -rv /etc instead, and hit enter, while using a root account.


I mean, there is a home directory for the root-user, that you could use for these things.
Root’s home directory only works if you’re sshing in as root (not a great practice, although its certainly not as bad as on Windows thanks to key auth. You can simply revoke the keys of the admin you just let go rather than resetting a bunch of passwords). The reason its common practice in Windows Server administration is a combination of common practices: having dedicated admin accounts in AD for each administrator, Windows lacking a decent directory for content shared between users, and of course the general laziness that Windows administration attracts and fosters.