I’ve seen some (perhaps vaporware?) “modules” described online that can be dropped off/installed to grab the stuff and store it for truck pickup. I’m not sure about the economics, but “free” energy is a definite economic driver.
The technology exists and is being refined but it costs more than the recovered gas is worth.
As of now it adds to overhead, so if there is no regulatory pressure, most operators are going to continue to vent and flare.
For the record, some reasonable amount of environmental regulation is a good thing. It levels the playing field for the operators and helps the honest and responsible ones compete. Otherwise the field would soon be dominated by bad actors who can out-compete on strictly a cost basis because they don’t care what happens to the waste.