No, a Shah is a hereditary ruler (a King), whereas an Ayatollah is more like a Bishop (ie a religious leader, but not the top guy such as the Pope in Roman Catholicism)