Grounding Metal Object to Eliminate Static Electricity Using Electrical Ground
You certainly can. In fact, you can buy a special plug just for this purpose:



It's called a static earthing plug, and is readily available, for example from PC Valet. The plug contains 1 megaohm resistors between the metal buttons and earth to protect against massive discharge currents.