A consultation by Scotland’s children’s commissioner found concerns that a ban on social media may not fully account for children's rights.