Yes of cause they can, Same-sex spouses of U.S. citizens and Lawful Permanent Residents (LPRs), along with their minor children, are now eligible for the same immigration benefits as opposite-sex spouses.
Diversity Visa applicants may include same-sex spouses in their initial entries or add spouses acquired after their initial registration. Spouses of DV-2014 applicants, even those not included in the initial entry, must apply before September 30, 2014.
ok