So no way to extend libreElec.
after a quick look I think there should be everything there already
they ship some python scripts and install a kitchen sink of depends from pip
install the driver from radxa
https://s3.setq.io/rockpi/deb/rockpi-penta-0.10.deb the fan.py
https://s3.setq.io/rockpi/pypi/Adafruit_SSD1306-v1.6.2.zip the driver ?
and make some changes at the pin output
The "driver" is already there LibreELEC.tv/packages/addons/addon-depends/adafruit-libraries-depends/Adafruit_Python_SSD1306 at master · LibreELEC/LibreELEC.tv · GitHub so likely it should just some copy/paste needed to have it working. Not sure if anything else is missing.
just the oled.py looks fishy, but nothing that can't be done I think