Yes. You can apply to extend your Ancestry visa if you are not yet eligible for ILR or choose not to apply for settlement. There is no limit to the number of extensions you can apply for, provided you meet the requirements.