Idea: Pokitto BLE hat to control LEGO/DUPLO Trains

My daughter has a duplo train that can be controlled using an app via Bluetooth Low Energy

I was wondering wether it would be possible to create a Bluetooth Low Energy hat and use the pokitto to control this train?

I already came accross this:
node-poweredup - A Node.js module to interface with LEGO Powered UP components.


I have made one bluetooth hat prototype which I used to control Minecraft.

Let me see if I find the source for that.


I’d like to see the results of this.

Bluetooth and BLE based remote control systems are something I’m interested in because of a certain project I want to do some time.
(Sadly my knowledge of hardware is still lacking.)