It would depend on where you live, but in most states and countries, yes. In the United States, marriage is possible at 18 in all states but Mississippi and Nebraska. Nebraska requires you to be 19. Mississippi requires you to be 21.
Canada, the United Kingdom, Australia, and New Zealand all permit marriage at 18.