Painting while pregnant?

Has anyone painted a room while they were pregnant? I’m curious to know if it’s okay to do or not