The front wheel does not need to lock to cause the bike to endo (back wheel raised). Simply preventing the wheel from locking up won't cure it IMO.
However, I can readily imagine using some gyroscopes to check that the bike is not flipping and if it's approaching a flip to release break pressure momentarily to keep the back end down. This would need to be very finely tuned as you'd rather endo into a stop with your tyre touching a truck than you would ride with two wheels down and hit the truck at speed. The amount of back-wheel air that you'd cope with will depend on the driver and conditions quite a bit.
However, I can readily imagine using some gyroscopes to check that the bike is not flipping and if it's approaching a flip to release break pressure momentarily to keep the back end down. This would need to be very finely tuned as you'd rather endo into a stop with your tyre touching a truck than you would ride with two wheels down and hit the truck at speed. The amount of back-wheel air that you'd cope with will depend on the driver and conditions quite a bit.