Oh come on. It's not like raspberrypi is going to force plane down.
Also there's likely 200 accelerometers on board already. Onboard wifi is becoming ubiquitous. Perhaps an app that trades in wifi time for accelerometer time would be good trade-off. And wouldn't require tons of certification.