While whey protein itself is not harmful, its usage during pregnancy or breastfeeding should be approached with caution and under the guidance of a healthcare professional.