Children as young as 13 could be allowed access to social media if their parents consent and they pass an assessment.