All foods ferment in your system if they're in there long enough. There's no reason to avoid those foods unless they give you trouble.
The brassicas (broccoli, brussels sprouts, cauliflower, cabbage, collard greens, kale, kohlrabi) contain compounds that cause gas and bloating. The compounds are neutralized during cooking, so just cook your brassicas. No prob.