Hey im a dental nurse, and yes you absolutely can have them if you really need to. There is a certain anaesthetic they can use that has no adrenaline and is fine for pregnancy!! Ive had one done in this pregnancy!!
What i would say is, some dentists will prefer to wait until you have had the baby unless it is causing you pain or it is really big! It totally depends on their preference.
Hope this helps xXx