Yes, you can technically be allergic to any type of material, and that includes socks. More people experience clothing dermatitis with synthetic fabrics like polyester compared to natural fibers like cotton, which is why switching to natural and organic socks may help your symptoms. See here for more tips.