No.  If the magnets get wet and are left on the lunchbox, the material will degrade and cause the metal lunchbox to rust.  You can wipe down the magnets with a sponge if they get dirty and then dry them immediately with a towel.