Vendors do sell a variety of pH probes meant for insertion into soft foods and other objects you might want to take the pH of. Like Boreck: said, they're only really valid for slightly wet, or at worst, soft moist samples. You can search for them and your application online.