Yes it can
Tooth abscesses are infections involving teeth.
They don't occur overnight and your body constantly is finding ways to "fix" the problem. When the pressure builds up the body can "lead" the pressure outside the body and relieve the built up pressure and drain the infection. This drain is a method to which the body is trying to heal itself.