'click and collect' option using a specific code

We’re wondering if it’s possible to set up a ‘click and collect’ option exclusively for people using a specific code?