The box would be supported by the pipe only. Then the fixture would be supported off the box.