Probably easier to hand pick the (classic) games that will run on that machine. Many (most?) of them will be vertical tho...
You could use a FE to filter horizontal and joystick games, but you'd probably still have to manually remove the games which don't run properly.