No, The Intel Celeron and Pentium processors are not supported by macOS, You can get around this, but you must use a supported graphics card as it isn't possible to run the onboard graphics on these processors.
You would be better to use an i3 processor instead of the Pentium and then use a digital video connection from the motherboard direct to the monitor.