You can. You just have to make a strong enough argument to prove video games cause violence for a judge to let the case proceed. There's a reason it doesn't matter and it's not because video games are beyond banning.
Why limit this logic to just social media sites and not other things that kids can be addicted to?