Yes, I'm managing it.
The first thing you probably need to do is get help to work out what's causing your IBS. Don't guess or see a "nutritionist" or whatever. See a proper doctor and dietician who understand the condition. For me, this meant following a low FODMAP diet until I could work out what foods were giving me grief and to what extent. Then armed with that information I was able to work out what exactly I could eat in order to gain without (so much) IBS pain, and I reckon you can to.
As few pointers:
I love food but food doesn't really love me. However that hasn't stopped me enjoying food or from seeing the positive effects of gaining wait in my life. I feel a lot more in control of my body and a lot healthier for it and I'm sure you can to.