The web is full of folk that tried that and ATT sniffed out they had a smart phone then upgraded their plan without asking them.
How about getting some phone and looking at Ting? Then your friend can have your phone and old plan.
What? Is unlocking illegal again? Read from:
http://techcrunch.com/2014/02/08/one-year-later-unlocking-your-phone-is-still-a-crime/
Bob
I have a non-smart phone with AT&T. Can I get an upgrade to an iPhone and give it to a friend without actually upgrading my plan and activating the upgrade for me?

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic