Yes, the emulators are 100% legal to download and use. But if you are sharing or obtaining a copyrighted ROMs online or BIOS then this is illegal.