Yes they can. P. gingivalis, the bacteria involved in causing periodontitis, also reduces your mouth cells' ability to produce a protein that offers you protection against viral infection.