I am thinking more along the lines of analysing the frequencies up to circa 2KHz (although in a perfect world we want 20kHz)- similar to what Dirac is proposing with SRC - but doing it in real time. (I am setting the 2khz limitation based on what Dirac has published with regards to their SRC system, showing that the benefits - as the system currently stand, mostly are achieved below 2kHz)
Real time analysis of not just the speakers direct signal, but the reflections as well, and then real time correction of those sound flaws both direct and reflected through active cancellation - so the end result is closer to the theoretically targeted sound field.
The only thing that can be corrected with certainty is the direct path response.
We cannot correct the box or baffle or resonances.
It is only the motor/cone/driver non-linearity that we can make linear.
That would ultimately be the path to Nirvana - the ability to simulate the soundfield we want within any listening space (given sufficient speakers, and processing power).
That is a pipe dream, that IMO is a step too far.
A more linearity system can be achieved, but what you are suggesting would take more speakers than 2.