Yes, novels are a recording of society in writing, written through the lens of fiction. A novelist is incapable of escaping the societal influences of the society of which the novelist is writing in, therefore, the novel is a model and microsm of that society in which the novelist writes.
Novels are much more than the society in writing. It is true that many novels are a reflection of or a commentary on the society in which the author lives. However, novels offer us much more perspective. A novel's character, for example, can show us positive or negative traits we carry ourselves and can help us imrpove on those.