Last macOS version to officially and natively support Haswell platforms and HD4600 graphics is Monterey.
You may install and run Ventura orSonoma on your Haswell HP Probook 640 G1 laptop but not without OCLP patching to regain graphics acceleration for the deprecated iGPU.
If you begin with a traditional macOS installation (which will be without graphics acceleration), make sure to use theSMBIOS of a supported model. You may look at our articles about Ventura & Sonoma to that effect. After initial installation, you may then apply OCLP patching for graphics acceleration and wireless/bluetooth (for which OCLP is totally mandatory).
https://dortania.github.io/OpenCore-Legacy-Patcher/