Nostr as the API for LLMs?

Could self-learning and executing LLM based AI bots use Nostr as they over the Internet communication layer?