LONDON — By any standards it has been a miserable start for Prime Minister Boris Johnson of Britain, who stands accused of subverting the country’s unwritten constitution and has yet to win a vote in Parliament.

Lawmakers have twice rejected his call for an election, and have passed legislation that upended his strategy for exiting the European Union on Oct. 31 “do or die.”

Yet his Conservative Party enjoys a healthy opinion-poll lead over the opposition Labour Party, his personal ratings well exceed those of Labour’s leader, Jeremy Corbyn, and they have increased several percentage points since Mr. Johnson came to power two months ago. In light of that apparent paradox, some analysts see his unorthodox style and communication skills as setting him on the road to electoral victory.

“I think what we are seeing is a bit like Donald Trump in the U.S., where those who dislike Boris Johnson see confirmation in what he does of how appalling he is, whereas those better disposed to him are willing to discount all manner of things,” said Roger Awan-Scully, head of politics and international relations at the University of Cardiff.