Yes, it is possible to use different sample sizes in two different groups. However, it is important to ensure that the sample sizes are large enough to provide sufficient statistical power for the analysis. The sample size should be based on the research question and the expected effect size.