Even in the best case, doing this requires at least as much energy as was released by burning the gasoline. But more likely 2-3x as much energy. It's far more energy efficient to prevent the emissions in the first place. Burning the captured gasoline again would be extremely foolish.