It depends on how the DC is configured right now and the AC supply for it?
In most cases it can be done, normally they are both taken to the ground star point, together with the earth bonding conductors from motor and machine frame as well as shields etc.
BTW, Your PC MB DC supply and AC universal motor router or VFD are both common to earth ground whether you physically connect them to the start point or not.
Al.
CNC, Mechatronics Integration and Custom Machine Design
“Logic will get you from A to B. Imagination will take you everywhere.”
Albert E.