You cannot use this PC directly as a display for a PS5 as the HDMI port on this model is an output for the PC display and not an input for external devices such as a PS5. However, you can use the HDMI input on other HP models if available. In this case, however, you will need a different device or configuration to use the PC as a screen.