PC configuration

Hi everyone, I have these two devices: Desktop PC with CPU 5600x GPU RTX 2060 and Asus Tuf B550 WiFi mobo HP 255 G8 laptop PC with 5700u CPU with integrated graphics Can I install MacOS on both or do I have problems. Thanks again