While there is no standalone "Spider-Ham" video game, the character has appeared in several notable titles:
Other appearances may include fan-made games or mobile titles, but the above are the major official releases. If you recall a specific platform or genre, more details could help narrow it down.