Yes, this phrase is well punctuated since the comma is before a coordinating conjunction that links two independent clauses.
An independent clause is a unit of grammatical organization that includes both a subject and a verb and can stand on its own as a sentence.