Not really, no. Ansible is open source, so theoretically many things are possible if you’re willing to rewrite the firmware, but as-is the only way for Ansible to interface with a device that is not a Grid or an Arc is by receiving MIDI and responding in one of a few prescribed ways to it. Teletype, by comparison, is able to communicate with a different range of devices and is open-ended without rewriting firmware by design.
As for the grids, they are a device that communicate via an OSC-over-serial protocol. They send messages corresponding to button-presses, and light LEDs in response to messages received. Thus they’re far “dumber” than they might look from a distance, but it’s this lack of purpose that allows their use in a wide variety of contexts. Most community development of applications that use the Grid assume—to greater or lesser extent—that Grids have 128 buttons and 16-step variable brightness. Older grids may or may not. This means using an older grid may sometimes come with UI compromises if you intend to use community applications. Of course, if you write your own code, your grid is your grid.