>>94745215Yes, the entire plot was about Peter pining for Tony's attention and validation but at the end, he didn't become a hero because he wanted to be an Avenger or Tony's lackey, he wanted to be a hero because he wanted to help the people he cares about (e.g. NYC) and he took Tony's "If you need the suit to be a hero, you're not ready" lesson very much to heart.
This enlightenment is what made him turn down Tony's offer to move into the Avengers HQ to be a full-time Avenger during the credits scene. He was just going to go back to his ghetto sweater suit and be his own hero, his way. The whole story was about him trying really hard to get a grip on Tony's dick, yes, but the conclusion was that it's neither worth the trouble nor what he wanted to do with life.