You see installs where they run down the fridge vent, put the controller in the fridge compartment, then use the battery wires powering the fridge as charging leads. Not uncommon, but not ideal since the fridge will see a little higher voltage that way, and the disconnect switch also disconnects solar charging in this configuration. Not huge problems just not ideal.
If it is a panel without a controller it can possibly be a bit more of an issue, since flipping the battery disconnect switch with the fridge controller powered up could expose the fridge to high DC voltage. That all depends on the controller draw vs solar output. If the fridge controller board kept the voltage out of the solar panel pulled down, then again, no big deal.
Jim