Social media bans, digital curfews and time limits on apps are to be trialled in the homes of hundreds of UK teenagers.