I don't know if it's legal or not, but I do know that many parents get cards for their kids, buy some things on them, and then pay them off soon after to help the child have a good credit score before they're out of high school.