Yes, playing video games can affect your heart rate. Because you are often physically engaged while playing, especially in more active or intense titles, your heart rate can rise in response to the excitement and movement.
Fast-paced action games and competitive matches tend to get the pulse going the most, as the adrenaline of the moment kicks in. So while it may not be the same as a workout, gaming genuinely can get your heart beating a little faster.