Painting baby room

Autumn
I'm 26 weeks and really want to help in painting our babies room- was thinking of wearing a mask and only painting for short periods of time with breaks in between - is this safe for the baby?!