Selling airline miles generally isn't explicitly illegal, but it does violate the rules of virtually every loyalty program. Nonetheless this is a huge industry, and there's no denying that a lot of people engage in this. Airlines have gotten smarter over time in identifying accounts with risky behavior.