Technically, yes, but not directly from high school. Since the institution of the one-and-done rule, high school players cannot declare immediately for the NBA draft and are required to play at least one year in college or in minor leagues in the US or abroad.