Technically the dye chemicals may be able to enter your body through your scalp. Personally I would avoid this during pregnancy, but you may want to speak to your gynae about whether there are safe hair dyes in the market
it might... though honestly i did