An analogy is suppose to draw a reasonable comparison. I wouldn't draw an analogy between having a bonfire and setting fire to a hospital, despite both involving fire.