Can a holding pattern be in class G airspace?
By definition, Class G is uncontrolled airspace so the only separation you will receive there comes from using your Mk I eyeballs and good judgment.  A controller is not going to dispatch you to hold in uncontrolled airspace.