Yes, but it will depend upon the application. If the media is conductive (water based), a coated probe such as HALAR or TEFLON will need to be used. If the media is non-conductive, a bare stainless steel probe can be utilized. In either case, the level switch is calibrated to ignore the foam and yet still sense the level.