Yes, you can change your gender on the NHS.
The NHS offers a full range of services to transgender patients. They will help you with the process of changing your name and gender on all documents, including birth certificates and passports.
If you are under 18, they will also offer you counselling and support with any other issues that may be affecting your mental health.