In general and not specific to our inline 6 motors, the overall ability of the motor to flow air is the limiting factor. In most cases, it's the head, but many things affect flow of air through the head like how much/long the cam is opening the valves, how big the valves are, how much the rocker arm ratio is affecting cam inputs, etc. external bolt on things like TB size, intake design, etc. affect that flow too.
You can reach that peak flow/hp a few different ways. You can always do it via rpms if the motor will allow it. That's how Honduhs make impressive n/a rpm and still suck. Increased displacement i.e. a stroker will move the peak power lower down the rpm band. Forced displacement (tarbo or/and blower) is another way but outside the parameters of this discussion.
So if your whole head/intake/exhaust setup flows enough for your motor at it's 5k redline and you stroke it, you'll make the same peak hp, just lower in the rpm range. But if your peak flow was more than your engine needed even at redline and you stroke it, you'll (hopefully) move the peak power down into the range you can rev to and make more peak power.
There are some gross generalizations in there but for the sake of the concept I think that tracks? So for our Jeep motors, the flow of the intake/TB/exhaust/head was sufficient for the intended use as well as the low redline we have. Bolt ons generally don't do a ton as compared to a high revving motor (but still does something, especially higher in rpm where Jerry starts frowning).
Also, there is no such thing as "flows enough." It's just a logorithmic scale kinda thing with diminishing returns.
The point I want to get across is generally speaking, stroking doesn't necessarily make more hp (although it can and does many times), it just moves the peak power to the left. That "to the left" might well push it in to your useable rev range.