This is a defect. There's a service program for keyboards with problems. I took mine to be serviced and it was returned without repeating keys or stuck keys.
Yes, have tried this. Comes back working and then develops the same problem shortly thereafter. Further, Apple Stores are about a 2.5hr drive for me, so I can't just easily keep popping in for every issue -- especially if I think the fix won't last anyway.
if you eat near the computer or live in a place with lots of dust/debris in the air- and have a 2016-2017 keyboard- it will probably just keep happening.
I almost bought my first apple computer last year, but I couldn't get over the keyboard. I ended up with a surface book instead but I'm not convinced I made the correct decision since I spend most of my time in linux.
It seems so very uncharacteristic for Apple to ship a product that you need to use in a clean room for it to work properly. I don't like to baby my products, they will develop dings and scratches over time.