Formula

Okay so I get formula from wic since my breastfeeding plans didnt work out. They only give similac and as it turns out my baby is allergic to it. It makes him vomit and break out in hives. Is it illegal or wrong to post it online and try to trade it for enfamil?