The honest answer is that this is not well established, and anyone claiming certainty in either direction is overreaching.
The theoretical concern is real but indirect. Recovery from concussion typically involves limiting screen time and cognitive load in the first days, because bright, fast-moving visuals and sustained concentration can aggravate symptoms like headache and dizziness. On that basis, long gaming sessions during the acute phase are usually discouraged — not because games damage the brain further, but because they can make you feel worse and are often the easiest trigger to remove.
What is not supported is the idea that playing games worsens the injury itself. Current medical guidance is also moving away from strict rest toward gradual, supervised return to activity, so blanket prohibitions are outdated.
If this concerns an actual injury, the person to ask is the clinician managing it. Their advice will be specific to the case in a way no general answer can be.