As long as they are Muslim, yes you can marry them. It would be valid and legitimate.
However, we must always bear in mind that with spouse selection, there are numerous factors that would contribute to a sustainable and successful marriage.
One is compatibility, not just in life choices, but also in ideological mindset. If this person follows a fringe group, or does not adopt mainstream Islamic practices, and you do, then it would affect your relationship in the short and long term.
This is why you should think wisely about your decision, and try to consult with your local scholar.
With prayers for your success.