I knew some attorneys who used to do this. Once upon a time you could just buy the ticket and get the miles, not actually setting foot on the flight. But post-911 that is no longer an option.
There are really interesting benefits from some of these plans. I knew one guy who's premium membership, because of a package deal between airlines and hotels, would get free minibar in the hotel. That was a game changer.