I don't see a problem with it except as you come up in the dental chair post procedure you could experience dizziness, but just be careful getting up out of the dental chair when you're done. That could happen even if you're not fasting.
If obese people can get root canals, what makes you think it's dangerous for somebody fasting?