I never did it apart from playing with bath bubbles and 'helping' me bake sometimes.
The idea of allowing children to waste food like that when there are other children depending on food banks for their meals seems all wrong to me, and sorry if that sounds sanctimonious.
My kids watched a good deal of tv. They also did a lot of cutting, glueing, drawing, chalking, playing with blocks, playing with clay - all sorts of clay, not just Play-Doh. Mess was confined to the kitchen table.
I have a friend whose small children are allowed to be pretty much free range in their house, eating anywhere, playing with food at mealtimes and doing experiments' with the contents of the cupboards and spice rack, using unwashable acrylic paints and all sorts of other materials at the dining room table.
Her house is a tip but she's not concerned because all it takes is money to restore it to a decent condition when the kids grow up a bit. I have come to suspect that allowing your children to destroy your home is a MC signifier.
I have observed her children in their relationship to screens too, and because she limits screen time (another very big MC signifier) they crave their evening access, and in fact get very antsy coming up to the magic hour.
The children are not inclined to respect either their own or other people's property, or respect the concept of personal ownership. Toys are broken from rough play, pushing, pulling, twisting - all in the name of exploration. Never mind, everything can be replaced. Lipstick and other items that are not theirs (bottles of moisturiser, etc) are used for creating art or various concoctions. Again, all it takes is money to fix.
But the kids have had a hard time in school learning classroom etiquette - tidiness, correct use of art materials, treating books gently, and unfortunately labels they get in the early years will follow them for a while through school.
There really are other things you can do with your child than allowing play with food. Buy clay, chalk, washable paint, a sandbox for the garden. Reserve a patch of the garden for digging, playing with pebbles, etc.
It's important for children to learn the proper use of different materials as well as developing the sensory side.