[Help] Looking to make object styles enable as layers as a script??

For object Styles, is it possible to identify a layer instead of individually assigning the object box from each page? How would i make a layer a certain object style? I made that the QR Code Frame is on a certain layer on a 200+ document.. Any way for me in object styles to identify the QR Code layer without individually going through each document and assigning that a new object style? A script or something that enables me to edit this would be awesome!