MacOS and Windows on same drive?

I have a laptop which has only one hard drive and i want to install MacOS, so is there any way to keep windows and macOS on the same hard drive? And im going to use OpenCore Vanilla Installation.

Model is HP Pavilion 15-n259tx Laptop
cpu - 1.7 GHz Intel Core i3-4010U with Intel HD Graphics 4400
ram - 4 GB 1600 MHz DDR3L SDRAM (1 x 4 GB)
video graphics - AMD Radeon HD 8670M Graphics (2 GB DDR3 dedicated)
hard drive - 500 GB 5400 rpm SATA
network card - Integrated 10/100 BASE-T Ethernet LAN
wireless connectivity - 802.11b/g/n (1x1) and Bluetooth 4.0 combo

you can see more info of my laptop here:
https://support.hp.com/in-en/document/c04159799

Thanks.

submitted by /u/icyqz
[link] [comments]