That’s not what the law says: it’s stupid adults in the game who are responsible for their own actions. Letting your 13 yr old kid play a game advertised as 13+ is not illegal while for an adult to engage in certain ERP activities with a minor can have various legal repercussions depending on the jurisdiction.
Also it is against the ToS.