I really need the ability for the cart to temporary stock allocation on shippable products, can it be done in 5.x-3.4?

I know is is available in version 4 but was hoping someone would have a patch for version 3.