I've never used a veg for these purposes and I'm not planning to. I would definitely not recommend it to anyone, and I would recommend be very mindful of the hygiene of any objects you decide to insert for whatever reason- speaking from experience here, UTIs are no fun.
Most people don't use vegetables for this afaik.
That aside, the only girl who ever confided in me that she used a veg (a banana btw) also said she put it in a condom. She said she would bin it all afterwards and this sounds like what someone reasonable enough would do. I'd be grossed out if I was to eat something used for that and I'd feel awful to have my family eat something used that way. Just no.
Bit tricky just with my fingers on the phone but yeah