Yes, what you’re talking about is “association groups”. Here’s a recent conversation about that.
To set up associations, edit the thing parameters in MainUI (OH3) or Habmin (OH2).
If you associate two Z-Wave devices, then OH can be completely offline and they’ll still work. So, you don’t need to do any other configuration for them. That’s a double-edged sword, though, because you’ll never be able to control one of them in OH without controlling the other.
I would suggest treating the switches as a single unit in OH. Basically, set up an item for one of them, and don’t set up an item for the other one (since the association will ensure that it’s synchronized).