If you mean as a surface to work on or store them, then sure it's fine. Impressed you are aware the outside is a bad Idea though
Metal is good too, like the side of your PC case as a place to temporarily place the RAM or CPU for example.
But Ground yourself regularly and avoid synthetic materials like plastic and nylon etc coming into contact with the components and odds are you won't have any issues.