Is it Legal to sell my miles and reward points?

Yes, it is absolutely Legal, and there are no laws against it. However, some airline programs may consider the exchange of miles/reward points a violation of their terms & conditions.