It depends on what games exactly does your kid play. I read that the children playing online games are more successful in the communication with age-mates and more satisfied with life. I think it is true and games are not a big problem. For example my daughter likes to play Dora games https://www.skywardgames.com/category/dora
I think it is good games for her.