No. Captain Rex appears only in animated canon: Star Wars: The Clone Wars and Star Wars Rebels. He never appeared in live-action films.