If it puts your body into an underweight category then no. If you have metabolic issues, obesity, PCOS, then water fasting can create hormonal shifts that could affect menstruation, but it’s hard to predict what will happen.