you can, but you will want to freeze them for a few days first to kill any eggs/larvae that are already there. I find too that the lack of air movement + moisture will cause some mold, but the bees can clean that up.
PS, don't use regular mothballs. Naphtha is bad. PDB, or moth crystals is what you need to use if necessary.