Yes. Your State Pension is an entitlement based on how many National Insurance contributions you have made during your life.
It is not affected by any other retirement plans you might have arranged privately, either through a workplace pension or a personal pension.