No. Sarah Hyland does not appear in any version of Annie.
The 2014 film adaptation stars Quvenzhané Wallis as Annie (the first Black actress in the role), with Jamie Foxx as Will Stacks (updated Daddy Warbucks), Cameron Diaz as Miss Hannigan, Rose Byrne as Grace, and Bobby Cannavale as Guy Danlily.
Sarah Hyland (best known as Haley Dunphy on Modern Family) was 23 in 2014—too old for the title role. Her film credits around that time include Scary Movie 5 (2013), Vampire Academy (2014), and See You in Valhalla (2015).
Possible confusion: Hyland played a teen in Geek Charming (2011, Disney Channel) and The Wedding Year (2019)—but never Annie.