No, a virus can’t infect a modern anti-malware tool.
Viruses are (almost?) extincted.

Can malware infect anti-malware tools/files ?
Ofcourse it can if it is able to breach the protection of the software.