Trackball + ESP32 - is it possible to use the python library?

Hi! I bought the Pimoroni Trackball, I would like to build bluetooth mouse device based on ESP32. Is it possible to do this with this trackball? Can I use provided python library for that?

Thanks in advance for help. I’m beginner in making electronic things :)