Some players have attempted to hack Age of Mythology online by editing the game's data packets with a program like WPE (Winsock Packet Editor), which lets you intercept and modify the information sent between computers.
That said, hacking online games is against the rules and can get your account banned, and it also raises fairness and security concerns. If you just want to experiment, sticking to single-player modes or the game's own cheat options is a much safer route.