Pick up in store invetory rules

Hello,

I’m looking for a way to set inventory rules for pick-up in store. Specifically, if a SKU’s inventory is 5 or less, it should not be available for pick-up.

Is there a way to implement these types of rules for pick-up in store?

Thank you!