You’re asking for trouble with bears. We had two cubs practically destroy an apple tree. Climbed up in it, tore the bark apart doing it and ate every last apple. Apple tree is still recovering.
It could have been worse. Much worse.
Fortunately there are no bears around here. But have visited bear country up in the Rockies, and in the south.