I work in the aerospace industry and have written software for Secondary Fight Displays amongst other things. SFDs include an Artificial Horizon Indicator.
SFDs have 3 gyros and an accelerometer. At start-up an SFD screen shows a count down, eg for 60 seconds. This is so that the gyros/acc can be calibrated. Any movement of the aircraft or an inclination of greater than a few degrees will cause the countdown to reset. Once the calibration is complete, compensation data has been calculated for all 3 axes and the accelerometer. The software then uses this data in its algorithms, resolving any long term drift issues.
The system also includes two tilt sensors - horizontal and vertical. These are accurate within +/- 60 degrees dependent on the accelerations they are experiencing. The system resolves real-time drift in the gyros using the tilts together with the accelerometer and corrects towards "reality" (the tilts) whenever appropriate (ie when not under large accelerations). The software for the system is far from trivial, but definitely feasible for MotoGP.
Using such a system, together with an electronic odometer which is reset every time the bike crosses the finish line, will provide you with sufficiently accurate information to determine which corner you are in. This would allow engine maps per corner, a la GPS.