Maybe till the age of 27 such license can be an idea. However, you can only measure theoretical knowledge. Like social skills, communication and basic legal matters, not to mention houshold knowledge, administration and common sense.
27 is just a fixed year. It can give some leverage to stimulate young people to learn and do the right things. But after that, people should have the freedom to make their own choices and mistakes. But stimulating better parenting and education may be more effective.