Yes, by going to Automations from a group/context (right click on the “…”) or directly in the Automations menu of the workspace. Indicate the trigger for this archiving state, ex: “triggers when a card is added to a group”: “Done” (associated with the “completed” state) then choose the action “Archive card”.