Anti-cheat just detects that it’s running on virtual hardware (VMs don’t try to lie to the kernel) and will refuse to allow you to connect.
You won’t get banned but it’ll either stop you when you try to launch the client or it’ll kick you when you try to connect to a game instance.
The short answer is no.
There’s a lot of study on this topic from the cybersecurity perspective. If you could create an undetectable virtualization layer then it would be used for real-world cyberattacks to steal money and the existence would be quickly noticed by security researchers (and future hardware would include changes to mitigate the vulnerability). It wouldn’t be used for creating aimbots for video games.
If you want to read into the technical details, this stackoverflow thread has a lot of links to various papers and articles on the topic: https://stackoverflow.com/questions/39533/how-to-identify-that-youre-running-under-a-vm