Your question is, "is this illegal?" The answer is, yes.
It is a felony violation for your friend to present himself as you to board an aircraft at ORD.
There may be a series of discussions about what the chances are of you being caught and what would happen if either of you are caught, but the answer is yes.
Anything further is a violation of FT's terms on giving advice on violating the law.