The approach suggested was to install a Nintendo DS emulator and then obtain the Inazuma Eleven ROM, with MediaFire named as the source.
The emulator half is legitimate — DS emulation is well established and emulators themselves are legal software. The ROM half is the problem. Downloading a commercial DS game's ROM from a file-sharing link is copyright infringement, and ROM aggregator sites are a well-known source of bundled malware.
If you want to play Inazuma Eleven legally, the series has appeared on Nintendo platforms and later titles were localised for Europe and North America. Buying a copy and dumping your own ROM is the route that doesn't involve either legal or security risk.