Protein Powder

Is it okay to have mass gainer protein powder while breastfeeding? I’m losing a significant amount of weight and can’t seem to put any weight on.