You presumably can't get a contract if you're under 18 because that would usually mean a credit check. But you can certainly get an account, on PAYG or pre-paid monthly direct debit that is not subject to contract. Some providers have "UK residents 18+ only" in their terms but others do not.