Ensure all your wires are secured properly and there is no chance of a short circuit. Improperly installed wiring and accessories would be the biggest danger of it being in the cabin.
While installing lithium in our boat I could not get past this, so I put them in the lazarette. Didn't want to sleep on top of lead acid batteries either.
If a fire starts under where you sleep, there is considerably less time to react than if it is 10+ feet away.