No official online support exists (GBA predates Nintendo Wi-Fi Connection). However, community tools enable multiplayer:
Own a physical cartridge before downloading any ROM. Emulators themselves are legal; distributing copyrighted ROMs is not.