https://www.slab.org.uk/faqs/can-a-child-have-a-lawyer/
Yes. If you are 12 or more the lawyer will have to be sure that you are old enough to understand what is happening and tell them what you want to do.
If you are under 12 your lawyer will have to make sure you understand what is involved.