It is part of type rating training to learn on paper (well, usually ipad/computer based training) what is where on the aircraft. But that doesn't mean pilots ever really go there in the real plane.
sure there’s no reason To go in normal cases, but I’d think a pilot should know every inch of the plane. I’d expect a captain of a ship to have been in the galley for example even if they normally don’t need to go.