Traditionally, yes, interviews were scheduled according to case number (CN). However, for the 2022 year things were very different. Here is what I found out from experience and what was shared here on this forum:
1. The processing of your DS-260 must by KCC must be completed
2. Your CN becomes current
3. Your embassy is willing to accept DV cases to interview
If, and only if, the above 3 are true, then your case will be scheduled for an interview. I know this because some people who are very close to me had their CNs current, but KCC had not been completed processing, so they were not scheduled for interviews for the longest waits in their lives. When their numbers were finally processed by KCC, they had to wait another 2 months to be scheduled for interviews.
So, from what I have learnt, you will get an interview appointment when the above three steps are true.