Yes, non-citizens can marry within the US. Keep in mind that marriage does not change your immigration status and the marriage may not be recognized in your home country. To get married in the US, you simply need the proper identification to apply for a marriage license in the county in which you are to be married.