Yes, alpha value must be set according to your assumption when you estimate the sample size because alpha has an effect on the minimum sample size can be used for your setting assumptions.
Alpha is equal to the type I error rate probability, which is the probability of rejecting a true null hypothesis, and is also called the level of significance. It also determines the confidence level (1-alpha)%. Hope this helps.