No, History cannot be either of the two chosen subjects for the Mains written examination. The subjects need to be chosen from the optional subject list.