The original Iron Man no, of course not. But I think it was Jon Favreau (the guy who directed the new movies) that said he used Elon Musk as an influence for building the character in the movies:
http://www.mnn.com/lifestyle/arts-culture/stories/tesla-ceo-...