It's best to avoid any dental services during pregnancy and breastfeeding as a precaution, be it a root canal treatment or professional teeth whitening.