RICHMOND, Va.—The House Freedom Caucus, a group of the chamber’s most conservative Republicans, doesn’t shy away from bucking the leadership or demanding ideological fealty.

That stance could become a liability this year, as Republicans acknowledge they are facing political headwinds in the November midterms and no one is immune.

In a sign...