Can you put a PS2 emulator on a Raspberry Pi and connect a PS2 controller to it?
You certainly can, although you will need a Raspberry Pi 2 or later to run it properly, extra hardware in the form of a Playstation 2 port to connect to the Raspberry Pi and a compatible emulator.