Is Twilight autobiographical?

No. Twilight is a work of fiction.

Source: stepheniemeyer.com