No, Tom Felton (Draco Malfoy in Harry Potter) was not cast as Riley in The Twilight Saga: Eclipse (2010), the third film in the series.
The role of Riley Biers—the newborn vampire created by Victoria to lead the Seattle newborn army—was played by Bronson Pelletier, a Canadian actor known for Jack & Jill and The Marine 3: Homefront.
Tom Felton pursued diverse roles after Harry Potter: Rise of the Planet of the Apes (2011), The Apparition (2012), Belle (2013), and the series Origin (2018). He has never appeared in the Twilight franchise.