You can set for shipping methods that support both pickup and dropoff.
Method 1: Set on Setting Page
Step 1:
Go to Settings > Shipping Settings > Select the shipping method > Click on Edit button
Step 2:
Select pickup or dropoff > Click on Save
Method 2: Set on Orders List
Click on Edit button > Select Pickup or Dropoff > Click on Confirm