You always need to have a GPU, is it a dedicated card, iGPU or one on your motherboard, you need at least one. Even after the installation you will need one, or the system will just not boot.
That will not work, the system will not boot as it will only see it as a display and not as a GPU.