Yes, a root canal is one way to treat a bacterial infection that causes an abscess. This is an effective treatment that could save the life of your tooth.