Composite gravity from a metric-independent theory of fermions