I managed to do this on a 2016 HP laptop, replacing the screen assembly. The laptop base worked great, plugged into a TV via HDMI, but a few days later, after the replacement top half had arrived, plugging it in and there was a pop sound... and a dead laptop.
Battery had been disconnected, also the CMOS battery. I usually remember to hold down the power button for a few seconds. Dang.
Didn't chase this further, as I am clumsy with board-level repairs, and my friend didn't want to throw more money at the project.