The ML150 G6 has a PCIe gen 2 x16 slot. You can definitely put a graphics card into it. HP doesn't specifically list graphics cards for that chassis in the quickspecs. You should be SAFE using a graphics card that doesn't have any external power connections.
Do you know if you have the 460W or the 750W power supply?