I did when I was pregnant with my second child but I wouldn't recommend because it is considered at your own risk. I even had my hair done involving bleaching etc
I don't know why I even did that but thankfully everything is normal and I gave birth to a healthy baby boy!