It should be possible but sadly there's not much info given in your laptop's service manual;
http://h10032.www1.hp.com/ctg/Manual/c06377664.pdf
The reason I'm showing doubt on the matter is due to the fact that laptop makers can artificially limit how much their ports can output. You do have HDMI 2.0 and DP1.4 which should be good enough for 165Hz at 1440p.
If you plan on gaming on an external panel while on that laptop, ditch the idea.