Gpu pass through on a computer with only 1 GPU

Hi. The computer only has 1 integrated intel gpu. Is it possible to start dom0 in text mode (without using the gpu) and let a qube use the gpu? Is the gpu pass through a security risk in this case?