Investigating the coexistence of magnetism and superconductivity in the Kondo-Heisenberg model