Yes but they're low bars to clear ! It's important to judge Khameini on his own merits by ignoring the propaganda both against him by anti-Iranians in the west and for him by those writing hagiographies.
Khameini deserves credit for leading the only regional Muslim nation to meaningfully challenge Israeli hegemony. He ensured Iran didn't fracture like Iraq, Syria or Libya - no easy feat given Iran's diversity with Farsi, Arabic, Balochi, Kurdish and Azeri speakers. Far from being an inflexible zealot, he authorised nuclear talks with world powers in the early 2000s, 2015, 2025 and 2026 - all of which America undermined and violated. I also liked he supported family planning policies in the 1990s to control population growth (take note Pakistan).
There were mistakes however:
1) Khameini allowed IRGC to become a mirror image of Pakistani Army - a state within a state that's corrupt, expanded its business empire, crushes dissent and routinely interferes in politics despite Khomeini's edict that the army should exclude itself from politics. No Iranian President is empowered enough to touch them.
2) Whereas Khomeini balanced left and right factions, Khameini totally sided with the right. The Majlis and various elections have been manipulated to ensure their dominance.
3) Enfeebling his Presidents. The main example is Khatami, elected in a massive landslide in 1997 on a reformist agenda. He was close to Khomeini and had impeccable religious credentials, but hugely popular with the youth. He gave a
brilliant interview in 1998 on US TV explaining how Islam and liberty shouldn't conflict (compare how Trump can barely string a sentence together even in native tongue).
Hardliners, backed by Khameini, obstructed him. They first prosecuted some of his ministers on bogus charges. Then there were the
Chain Murders in the late 1990s. The mutilated corpses of writers and activists (many of them pro-Revolution but disliked the state's autocratic drift) randomly appeared. It transpired rogue elements within Iranian intelligence were guilty, and were aiming to undermine Khatami who begged Khamenei to take action. Some were prosecuted, some were not, and it got covered up. It made Khatami look weak to his voters, and sowed the seeds of Iranian disillusionment.
The next Supreme Leader should be more a religious figurehead like Sistani in Iraq, not involved in day-to-day politics. But whatever the new regime is, it must be reflective of all Iranians whether secular or religious, urban or rural, Farsi speaking or not. They've an incredibly rich and historic culture, along with immensely talented and educated people who are truly between a rock and a hard place.