Gaming hours

Just a curious question but should being invested 4-5 hours in a game be considered safe gaming.?

I think it should be fine though it’s always best to look away for a few minutes from any screens after an hour or two of continuous use.