Can children withhold consent to treatment?

Can children withhold consent to treatment?