Yes, Damon and Elena do get divorced.
The Relationship of Damon and Elena
After Elena bid farewell to a dying Stefan, she went on to live a long and happy life with Damon, whom she eventually married. However, their marital journey did not last indefinitely. Some years after their marriage, Damon and Elena underwent a divorce. Following their separation, Elena gained sole custody of their five children. Elena is also known for her significant lineage, being a member of both the Petrova and Gilbert families.