I think you are ignoring reality and replacing it with polling and punditry.
An example would be Pres Nixon. The elected Republicans concluded that continuation of his presidency would be bad for the party, since it was obvious he abused the office of the presidency.
A counter example would be Trump in either impeachment trial. It was obvious he abused the office in one instance and in the other he incited an insurrection. Both are clear cut cases for conviction and yet most elected Republicans knew THE BASE would primary them and they would probably lose their job. The political reality was and remains, even if Trump admitted he abused the office and admitted he incited an insurrection THE BASE would not care, and they would still hold elected Republicans accountable for their transgression i.e. apostasy toward Trump. This is hardly a case of public resistance, but of cultish extortion.
Enough public pressure certainly can overcome party loyalty
In ordinary times. These are not ordinary times. THE BASE dictates to elected Republicans, and the words come straight from QANON. Reality no longer matters. That is the world in which we live.