That is totally up to your obstitrician/gynecologist. Generally a dentist won't do anything until they have a written ok from him/her to procede with any treatment. Your obstitrician/gynecologistwill also tell the dentist what anesthesia is ok, if any treatment is allowed. Sorry there is no easy yes or no answer...
If you can, it is better to wait after you give birth.