Yes. International students on a valid UK student visa can get married in the United Kingdom. They can also apply for a spouse visa after marriage or registering civil partnership if they meet the eligibility criteria.