You are free to install different memory and not harm your warranty. That memory (HyperX Impact) may seem like a good idea but you cannot make the laptop perform any faster with "gaming" or "performance" memory. Adding more memory can help and is a good idea but HP provides memory that runs at the fastest speed the motherboard can achieve on the memory. You can install a pair of 16 gig modules but use regular DDR4-2666 and understand it will downclock to -2400 speed. Good luck.
Be alert for scammers posting fake support phone numbers and/or email addresses on the community. If you think you have received a fake HP Support message, please report it to us by clicking on "Flag Post".