https://wiki.mobileread.com/wiki/Python_on_Kindle
https://wiki.mobileread.com/wiki/Kindle_Hacks_Information
The original OS runs, so what you can do is limited. There are examples of changing the “screensaver” from Python, but I couldn’t see how easy it is to get data into the Kindle (maybe needs USB, which would make it kind of pointless.)