You have 4 channels of vertex paint to use.
And really only 3 styles of possible scopes.
Acog, red dot, and scope.
You can paint each weapon mask specifically for the scope.
And you get much more solid results than using a “dynamic” solution.
If core part of your gameplay is changing out the scope, then making it so it is well made should be a priority…