Most definitely, and often without noticing.
Some games are nothing but maths. Math Blaster is the obvious example, while Brain Age and Flash Focus are built as teaching tools. But even in a standard adventure game or first-person shooter you are doing arithmetic constantly: calculating distance, timing a jump, judging whether you have enough ammo, weighing one upgrade against another.
That is part of why games engage the brain so thoroughly. They quietly exercise skills that a lot of other leisure activities leave untouched.