For high fidelity purposes,
Line stage, dac’s output stage, phono stage should all be in one box on its own with very short internal signal paths and no cables. Power amp should be in a separate box on its own, i.e., if executed well, 2 boxes should be all you need.
Keeping a separate preamp box and running wires to it from a dac or phono box doesn’t always give the best results. Wire made of dragon scales and fairy dust is still not good. An "integrated" amp, i.e. line stage and power amp in the same box doesn’t always give the best results.