No, not on its own.
Playing games is not a study aid, and time spent on a controller is time not spent on homework. If grades are the goal, gaming is not the shortcut.