But it seems like a bad idea for someone with a big secret in his life (i.e. being a superhero) to bring down the kind of scrutiny that comes with a political campaign. Although in this case, he'd be running unopposed in a city that's pretty desperate for anyone to be mayor, so that would make it easier.
True, but this is Oliver. When he doesn't do something dumb it's out of character.