Did you use the "name your own price" option? In that case, no, they don't earn miles. You should check the price through a regular channel first, and discount your bid based on the less flexibility and lack of FF miles.
However, if it was purchased through the "regular" process where they tell you who the airline is before you buy, this should earn miles just like one purchased from any travel agent.