Workspace clearance may come into play in this kind of installation. PG&E and NEC requires 30x36” clear space in front of the panel, afaik. That clearance goes right up to the edge of the panel door and extends down to foot level. That’s a tough one unfortunately with the cubby access you have.