Yes, basically it is stroke length that makes the difference. Torque might as well be called "leverage" and a crank with more stroke produces more leverage. Of course, cams and valve timing etc would be tailored to that particular rpm, but that makes only a comparatively minor difference. If you took at 0-360 Lycoming and a 350 Chevy V8, and played with cams a little they would show a very similar power curve up to 2700 rpm, both being fairly 'square' bore and stroke ratio engines. If you look engines from WW1 to the 1920s you see engines swinging enormous propellers at extremely low rpm - all these engines had extremely long strokes compared to their bores. Far more efficient for aero engines. Even back then they felt if an engine had to go much over 1800rpm, they really ought to gear down the propeller. The engineers back then would probably cringe at at our 2700 toothpick-props whizzing around.