Hello,
there are two technologies you could use:
Intel GVT-g with Intel APUs (5th, 6th, 7th generation Intel Core & E3 v4, E3v5, E3 v6 Xeon) https://pve.proxmox.com/wiki/PCI(e)_Passthrough#_mediated_devices_vgpu_gvt_g
NVIDIA vGPU which only works on specific enterprise GPUs...