Make sure you're in a well ventilated space so you aren't inhaling all of the bleach fumes and you're fine.
I highlighted my hair all threw my pregnancy and I've just dye it brown I'm 27+5 I've done it threw all my pregnancies and everything's been fine I wouldn't worry and with foils it isn't being absorbed into the skin any ways so you wouldn't have a problem :)