ok, makes sense.
As said, it is possible.
- get OH installed on the RPi
- install the mysensors binding (https://github.com/tobof/openhab2-addons/wiki)
- implement the code of gateway on the arduino (https://www.mysensors.org/build/serial_gateway)
There is a challenge, it usually needs a radio but you can get help on their forum - add the sensor to arduino and adjust the code
- connect the gateway to OH
I would suggest you use the relay sketch from mysensors to start with. Instead of connecting a relay, connect a LED. Then in OH implement it as a switch, if you succeed, you can turn the LED on and off via OH web interface.
If you like, you could even download the IOS or Android app to control it via smartphone