Yes — a gamepad works perfectly, and it's arguably the better way to play.
Arkham City has full support for the Xbox 360 controller on PC, and other DirectInput controllers generally work too, though a 360-compatible pad is the safest bet for correct button prompts. The free-flow combat in particular feels much more natural on a controller than on keyboard and mouse.
Plug the pad in before launching, and if it isn't detected, restart the game so it picks up the device.