@Cyoteblack Oddly enough, in our world, yes, it actually is in alot of countries that don't have a provision for individuals who are reasonable close in age (known collectively as "Romeo and Juliet laws").
All the info you would ever need on the subject:
https://www.ageofconsent.net/
Note, some of the ages allows may shock as to how low they are for legality. Not surprising is the fact that sex is essentially illegal in most Muslim-dominated countries outside of marriage, and they have an age requirement (or have it listed). Highest age I saw for legality was... 20. Yes, 20 - in S. Korea. DO note that just because it is "legal", the age minimum can be different due to the relationship between the two people.