Yes, they can. According to the Mega Millions rules, the game is open for both American and non-American citizens over the age of 18. The legal age may vary from one state to another. In some states, the lottery is open to people over the age of 21.