Hi,
If you are referring to an AlwaysOn Availability Group, once you perform an index operation in the primary databases, this is also applied to the secondary replicas. If you ask for replicated tables, do you need to maintain indexes separately.
Best regards