I would think baiting bear near your cabin could be counter productive to having a nice cabin. That's how it works here. Cant hardly have anything out in the country the bears don't destroy.
Of course if you already have them in the neighborhood and need to thin them out. That works.
Good luck.
I had my sons wheeler parked almost under the eve of my cabin for the longest time. The wife kept insisting I bring it home before something bad happened to it. I told her it was fine. It was until the day a bear decided to rip the stuffing out of the seat. I put the stuffing back in as best I could, taped it up and kept my fingers crossed. The boy must have considered it normal wear & tear because he never said a word and the wheeler was sold without the wife ever discovering her prediction had come true.
Even being that close to the cabin, it's a great bait site. The bear wander throughout the area looking for apples and oats. So far they've never bothered anything else.