No, it will be very bad for the country to vote him in. Ends do not justify means.
When you don’t think the end justify the means, and your opponent does, you will lose. But, I do you really believe the end doesn’t justify the means? Do you think dropping the atomic bomb on Hiroshima was wrong, or did the end justify the means? Do you think we should never waterboard a muslim terrorist, or does the end justify the means?