Barcode scanner

Oh cool maybe that’s what I need for my app.

I want to scan a product in real life and then it links to the product in the google sheet. Something like that:

Would it be possible?