If by "all day" you literally mean 24 hours straight, that's not advice anyone should be giving, as it simply isn't healthy. But for gamers who enjoy their hobby in moderation, there's a reasonable case you can make to flexible-minded parents.
Here are a few arguments worth trying:
1) Games are a creative experience.
Modern games aren't just entertainment; they blend storytelling, cinematic scenes, memorable characters, and even orchestral scores composed by renowned musicians. A well-crafted game can immerse you in a richly built world in ways that rival a great novel or film.
2) Games are a learning experience.
Nearly every game challenges you to solve problems, adapt, and persevere. They hand you rules and a goal, then reward you with new freedoms and a genuine sense of accomplishment when you succeed. That kind of problem-solving practice has real value.
3) Games are a social experience.
Online and co-op games encourage communication, collaboration, and teamwork. Coordinating strategies with friends builds social skills that carry over into everyday life.
With the right approach, gaming can even be a family activity. Just don't overdo it. Staring at a bright screen in a dark room for too long can cause headaches and eye strain, and if the thought of not playing makes you genuinely upset, you may be focusing on it too much. Obsession won't help your case. In the end, you could argue that while you could read a book, a video game offers a more immersive and imaginative escape.