I can add friends on the emulator

is possible to add friends on the emulator? for some things like the friend safari on pokemon x and y

No, the friend system is not implemented.