As long as you're in a ventilated space, yes.
Ive had nails done all along (yes i should let my nails rest) No complaints. Im having my daughter in 5 days so I think u will be ok :)
I requested a mask though and they gave me one. I get my nails done often and I bring my own now.