Not sure how it is in USA, but where I am at self checkout has a weight built in and if you put something that is lighter or heavier than ps5 game case it'll won't let you scan anything until clerk comes and edits entry for you. Bananas have to be weighted and printed a special qr code before you get there.
If you manage do get a banana that weights the same as ps5 game then you might be able to cheat the system. But in doubt it is so easy around here.