Yes.
It's already happened.
The Democratic machine ran a candidate that had low voter approval. It didn't help having the outright corruption of the parties nominating process laid bare in a time of anti-establishment anger.