Yes, studies have shown that weight gain is possible when a person switches from day shift to night shift (source).