If a GBA emulator is running on a PSP, can the PSP's adhoc act like a GBA Link Cable?

Eg, I use gpSP emulator, and i want to try and trade pokemon(yes, very lame) via 2 PSPs