Well, I mean, there is the option of, hear me out here, just not allowing the chatbots to do 'erotic roleplay' with children. That would, er, seem like the fairly obvious option to most reasonable people, I would think. Facebook appears to have instead opted to affirmatively permit it (though note that they reversed course on this once called out on it).