RO is written in different programming languages. AI is just another. All a Creator's AI does, is to tell his homunlus how to behave (parts of it also cause a reaction of the creator, himself, such as Auto-AD). Even if you tried, you couldn't use an AI on any other char because an homunculus has to be summoned, so the AI can be activated. Nothing illegal there.