Headaches certainly can develop from instability of C1-2. If you have an atlanto-dens interval (ADI) of 5mm or greater, you have instability by definition.
There are no exercises that can help an instability like that. You will probably need a fusion. Make sure that the occiput-C1 level is normal without instability here too.