Yes in The Avengers (2012). No in Iron Man 3 (2013).
Iron Man 3 focuses on Tony Stark's personal trauma following the events of The Avengers. Black Widow's storyline continued in Captain America: The Winter Soldier, Avengers: Age of Ultron, and her solo film Black Widow (2021).