No, homosexual marriage is not legal in Iran. Based on religious and cultural background, same-sex marriage is not allowed in Iran. people do not accept such kinds of relations, and it can not happen legally.