Yes, if you vary the metric+connection EH action with respect to the connection, you find the algebraic equation: connection=levi-civita connection. Thus you can insert these equations of motion inside the action, recovering the metric-only EH action, and the two are classically equivalent.