Second this. My Redmi 12 can run heavier PSP games and NDS. I didn't try 3DS yet as I don't know any worthwhile games and RetroArch requires some setup IIRC, which I haven't been in the mood to do. Didn't try PS2 either.
Just find a suitable gamepad. I have a cheap PS2 shaped ergonomic one I got for like 15 USD (it just says X3 Wireless Controller or some such; don't remember the brand)