It is done quite frequently in industrial control electronics where the DC power common is connected to earth ground, this however is commonly done with a star ground point, and/or something called equi-potential bonding, this is ensuring that all metallic parts are bonded to avoid ground loops...