Not unless they're in cans, they can't. But mass detectors can & do detect edibles under ground.
People Also Ask
If you're wondering if airport scanners can see pills, the answer is yes, they can see the pills that you are traveling with. This is regardless if the pills are contained in plastic pill bottles, or contained in any other non-metallic and metallic objects.
Full-body scanners are used to detect threatening items and contraband such as weapons, explosives, and drugs under multiple layers of clothing. While there are a few different types of full-body scanners, the most common is the millimeter wave scanner.
Ferrous metals are the easiest to detect due to the fact that they have magnetic properties. And if the metal is conductive, the chances of it being located are high.