While it is against most airlines rules to sell or barter miles, it is not in violation to give tickets, rooms, etc. away.
In my opinion this would mean there shouldn't be a problem with giving a tix to someone you know well to be a generous person and is likely to respond graciously with a gift of tix or rooms etc. for you :-)