Re: Yes and no...
It's not just China. South Korea passed a law that minors were not allowed to play video games at night.
It's why Microsoft, which didn't want to get into time based age verification, just effectively rated Minecraft R in South Korea.
Like so many things, it's good in theory but the practical consequences can be bad or, in China's case, creepy.