I want to create a solution for game centers which they own different game consoles, is there any way to log each user playing time and gather all of this info into a pc? if yes how is it possible?
Unfortunately, you cannot effectively get this information from the consoles themselves in an automated fashion (with consumer console hardware).
If you require that all users sign in to accounts controlled by your business, you could monitor play time for games yourself by logging in to that account as well. But you're mostly out of luck, here.
Given your stated use-case in the comments (a net cafe), I'd argue that time spent playing a game isn't what you want anyway: you want to know how much time they're sitting in the seat, regardless of whether or not they ever touch the console there.
To that end, I think a lower-tech method of time tracking is probably your best bet.