Maybe. Great actors have been in bad movies before.
As proof, I offer up The Avengers. Not the Marvel film, the movie based on the spy show from the 1960s.
It had Uma Thurman, Ralph Fiennes, Jim Broadbent, and Sean Connery.
It was utterly atrocious. Practically a war crime of a film.