Bitcoin mining is dominated by capex, not opex. It makes much more sense to buy your rigs and pay whatever you have to pay to keep them on 24/7.
Putting a generator in place to convert the methane to electricity, then crunching the value into bits on-site, might add up. I agree that it isn't going to be useful for periodic cheap energy, however; there's no scenario where intermittently running your ASICs is going to add up.