My new trailer has a wiring issue ( bad ground connection) and the only way to get the lights to work is to connect the safety chains. So, yes the chains can be the ground circuit if the wiring harness is not providing a ground.
A quick test may be to see if the lights (and anything else...