Like running arbitrary IoT Apps on IoT devices?
Huh? what would be the point of that? Sounds like something the IoT device would need to support. Can look into ESPHome if that's a feature you need.
More advanced data structures have always been a little challenging to abstract for end-users. HA has a pretty good balance and of course if you want to do something more complicated you can always implement a custom component (or official one if it's something others might need).
If you can't even explain what makes your product better to someone technical, it might not be that game changer you imagine.