Yes. you can use vectors to scale. Collisions will not scale along unless the scaling is uniform though:
factory.create(component, p, nil, {}, vmath.vector3(8, 1, 1))
factory.create(component, p, nil, {}, vmath.vector3(8, 8, 8))