Banana skins aren’t as biodegradable as you think as they are not native.
I’ve had the “not native” line after chucking a banana into a stand of sitka, which was interesting.
The “2 years to biodegrade” thing is… Well, let’s say misleading. It’s totally dependant on the environment it’s in, 2 years is for high level, relatively cold and dry, less critters to eat it. At lower level, it’s far faster, even assuming nothing eats it. Leave one in a cold enough place and it might end up preserved for thousands of years.
After a previous thread like this, I tested the theory and chucked one down the bottom of the garden. Something ate it after a couple of days, inconveniently. But I’m told by one of our rangers it’s normally 3-5 weeks in a fertile environment, though it’ll be unrecognisable before that.
OTOH you can bin it, and it’ll go to landfill most likely.