The Noahide covenant was for the whole mankind and even a non-Jew can enter heaven by following them.
However, can a non-Jew obey some of the mitzvot commandments that he wishes to obey (moral values, etc) like not taking revenge, honoring the old people etc.