The Pearson factory location for the battery for both inboard and outboard models is under the first step in the main cabin companionway. Keeps the weight low and forward compared to the lazarette. There is one owner planning to place the battery in the bilge -- a bit extreme to my mind

Not sure why someone would place the battery in the lazarette. Maybe they had an outboard with electrical generating capability and placed the battery there rather than running a wire forward.

When racing, SF Bay Area boats place the outboard on the cabin sole with the head facing forward and in the forecabin doorway. Gets the weight down low for better trim.