Yes. Intense or high-stakes moments trigger a stress response, and that pushes your heart rate up. Competitive matches, jump scares and tight boss fights are the usual culprits.
The effect is temporary and comparable to other forms of excitement, though anyone with a heart condition should be sensible about long sessions of high-adrenaline play.