It might violate a policy because I assume the "friend" doing the favor is in reality posing as the traveler. I can't imagine anyone calls up and says "I'm Joe Bloggs, please upgrade my friend Jane Coggs, she gave me her Skymiles number and PIN, so it's OK."