If the headphone amp has a proper line-level input circuit with appropriate input impedance (say 10K ohms or higher), it will not affect the sound quality of the integrated amp when playing the speakers. Schiit makes some good headphone amps that meet these specs -- the Fulla at $99 and the Asgard at $199 are good examples.