no, sorry, short of having a second website that is only available/is being redirected to when pickup selected
sure , it’s theoretically doable with a bunch of coding (for starters, one would have to disable switching back from pickup to delivery when one of these items is in the cart already, or remove it from cart etc etc )
in any event, though you might have your reasons and I’d be interested to hear them , I cannot understand why any item should not be available for delivery in the first place – unless you do not do deliveres at all of course. After all I (the customer) am/is willing to pay for the delivery