Another explanation is that you are suffering from low level toothache which is not enough to get through to the conscious mind but which trickles through into your dreams.
There is even further evidence of the troubles caused by toothache in the Ebers papyrus which is a text written between 1700 and 1500 BC by the people of ancient Egypt.
Dental pain is very intense, or it can be, but we have things that can help with that, like numbing agents that help deaden the teeth while we can work on them, and also certain medications can help too.
Ibuprofen is commonly used to treat mild to moderate aches and pains such as headache, toothache, period pain, and sports injuries like sprains and strains.