Sure you can! Some antivirus providers even provide firewall with them. If you want a stand-alone firewall, then I recommend going for COMODO Personal Firewall.
Well the viruses have a file that they come from so the anti-virus deletes the file so viruses cant hide and that's where the anti-virus deletes the virus if ur computer does not have a anti-virus go...