As far as anyone can tell, there was never an official Hancock video game tied to the Will Smith film. It's a bit of a shame, because the premise of a reluctant, hard-drinking superhero would have made for an entertaining game.
If you're after a superhero experience in the meantime, plenty of other comic and movie heroes have had great games you could try instead.