Modern cameras have some APIs but they are very limited. Sony for example eventually built a neat Android compatibility shim that devices like the A7 ii (2014) could use to run Android apps on the camera's base OS. Latter they evolved a "Remote Camera API" with good wireless control, but which seemingly offers no on-camera programmability: a sharp turn. In early 2020, they announced a new updated Remote Camera API, which doesn't even support wireless connectivity to the camera. https://support.d-imaging.sony.co.jp/app/sdk/en/index.html
There's such a story of the aughts that is untold, of how opening the floodgates to creativity & possibility was the believed path. Your platform won by enabling more developers than any other platform. Today, we're in such a darker sadder world, where platforms are all entrapment & enshittification, enshittification all the way down, where possibilities close & doors slam shut. The NX cameras were a brilliant hopeful exciting camera, but everyone wanted hockeystick growth & massive success, and I think we radically underrated how long it really took ecosystems to develop. NX disappeared almost as fast it came. But what a promising promising device series, especially the latter appearing Linux/Tizen devices. With NX300, it was Linux to the core, great extensibility (if not well exposed).