If you want it to mean the same as "He likes to play games", then it is completely wrong.
It would work as the response to "What does he like it to do?" - "He likes it to play games". About the only context I can think of that working in would be if "it" was a robot.
John has a new robot.
What does he like it to do?
He likes it to play games but his mother likes it to do the vacuuming.
Interested in Language