You can definitely get a green card before marriage. Getting naturalized is apparently a ton cheaper if you're married to a citizen, though.

Wouldn't surprise me if same is true for green cards, too, but there is the fun bit about needing to have been married for 3 years first.

// @kdfrawg