Hi folks,
This is my first post here, so hi from Spain, I'll find some time to walk around the welcome post and introduce myself.
Meanwhile, being technically minded as requested :thumbup:, I was just about to post an answer like DownrangeFuture's :thumbup:
To be honest this project has been around my mind for a while, not to steal credit from FinalImpact but to reinforce the usefulness of the solution.
I happen to work with electronics and software

and typically, the simpler is the better. I mean, if you want to detect deceleration, just go and check deceleration

and act on the lights based on that data, not based on the inner workings of the engine.
A cheap DIY approach would perfectly doable with an Arduino and some LEDs. You could easily even build a device for testing the solution "in-a-box" before tampering with the tail lights. You could mount it on your handlebar and see if it lights the LEDs as expected.
Afterwards, if it works you could build it with more professional approaches
It shouldn't be hard to put together a bill of materials: arduino, accelerometer, LEDs driver, LEDs and power (batteries for testing)
The hardest part would be the software for avoiding false positives. But again, I'd rather prefer a false positive here than not lighting up the LEDs
I don't have a lot of time lately, but with some time we could build up a demo and share it.
Cheers!
XSrider
PS: by the way, this is a great forum that you all are building

congrats!