From Bell Products to GHZ: Quantum Memories via Emergent Hamiltonians