Can I install Anaconda on a shared virtual machine?
yes - though permissions can be tricky in a multi-user situation. I’m not sure which platform you’re on, but there is some documentation on Windows: Installing for multiple users - Anaconda
Also, the Anaconda TOS still applies.