Hi,
Sure, if it happens only by taking such kind of food, then don't take all these food together or in one day, keep a gap and then have it in alternative day. Still if you face the same problem then you need to avoid it. Sometimes one may suffer from IBS but didn't realise it. Pulses and legumes are rich in good fibre, if any one has problem with that need to avoid it. You should follow particular meal time in regular basis. To develop muscle mass one should eat protein rich diet, that's correct but how much it depends from one to one.
Next Steps
There are more details need to discuss, so if you want you can chat directly with me through this practo app.
Health Tips
To develop muscle mass, with diet exercise is also required, which helps to burn fat mass and make muscle mass more prominent.