In EVE-NG or GNS3, you would run it as an L3 switch or router (often used as a “router-on-a-stick” or MPLS PE/P node).
For users wanting to stay fully compliant, Cisco offers CML, which provides legal access to high-quality virtual images (though these are usually .qcow2 files rather than IOL .bin files). Final Thoughts i86bi-linux-l3-adventerprisek9-15.4.2t.bin