If you want to write smut, the golden rule is to always have the protagonists be of legal age, although 16 with 16 might be tolerable.
For the eighteen-year-olds, in Naruto, it would mean setting the fiction a year after the Third Ninja War, I believe. As for Harry Potter, he should be of age...