You could easily drill a hole in the pipes, any pipes and weld on a bung to thread the O2 sensor into. That is easy. But you need a wide band O2 sensor, not the narrow band sensor the bike came with. It also needs a power source (I believe it takes something silly like 2 volts or something from an exact and stable power source.) Over the normal operating range a wide band sensor would give you EXACTLY what you seek, and in fact some have done that, taking occasional readings and making detailed notes, then going home and modifying the map to accommodate the new data. I would like to put one on my bike soon. A couple of other projects are in first place, but maybe this year? Ultimately it is where we will all be headed.
No more heading out to a deserted street with a dozen fresh plugs to dial in your main jets. Maybe the modern gear heads will have a small black box and a power supply to carry with them as they snake a portable sensor up the tail pipe and make a few runs up and down that deserted road. 8)