As posted previously in another thread, California has a law against using any ticket for transportation in violation of its conditions. That being the case, while buying FF miles might only violate program rules and not be illegal, using a ticket obtained with those miles could be illegal - at least in that state.