Yup, some of the keys on my 2016 MacBook Pro started not working reliably and thankfully Apple had their extended warranty program for that and they replaced the entire top cover (keyboard, trackpad, aluminum housing) + battery. This was about 5 years after buying it. It was pretty nice because I had like 1200 cycles on the battery or something crazy like that!