Not this exact approach but you can script LightBurn to open and load a file. More information here:
Not sure how practical this would be for markings tens of thousands of items.
Is having a graphic or text label for the QR code external to the code not an option?