RIO DE JANEIRO—With an economy near depression and a political crisis dividing their nation, Brazilians could use a superhero right now.

For a passionate minority who show up at protests waving their country’s imperial flag, a king would suffice.

The 26th annual Monarchical Encounter in Rio this month was abuzz with hope that Brazil’s deepening...