You’re conjuring an image of children licking walls, but just the dust from the flaking paint chips is harmful.
https://www.cdc.gov/lead-prevention/prevention/paint.html