Yes, you can connect a controller to your PC to play DC Universe Online.
Most modern controllers work with the game once connected, though you may need to configure the button mappings in the game's settings or with a helper tool to get everything set up the way you like.