Yes, since everything is running in an emulated environment, nothing is run on your real system.
If a virus or a trojan want to delete all your system files, they will delete the system files on the simulated hard-drive - not your real one. Since we are using emulation, there is nothing to break free from, so it is perfectly safe.