Does Taylor Swift write her songs about her life?

yes, she writes most of her songs based on life experiances

to add to that... she wrote some of her first songs in high school