No, stroke directly affects torque by the definition of torque... Force times perpendicular distance... The longer the stroke, the more the perpendicular distance, hence the more torque...
Just like using a pry bar - the longer the pry bar, the more torque it produces...