IOS runs on Catalyst switches, it does not run on SMB switches like the 500 series as these switches are aimed at the lower end of the market.
If you want an IOS based L2 catalyst switch you should look at the 2960 series switches
https://www.cisco.com/en/US/customer/products/ps6406/index.html
please rate if helpful