? You wouldn’t be using the virtual stock with a gunstock accessory. The virtual stock is for smoothing if there is no physical stock.
With a physical stock you just want to align it, and unless that stock has a tracker or an input interface there isn’t any way to automatically detect it regardless.