How would I do that?
UH-OH
They do look like sprockets, are these chain driven ?
The first thing you will need is all sprocket dimensions so you know what you want to end up with, A cad program to draw this 2D profile and cam software to create the toolparh and convert to G-Code so that that your CNC mill will know what/where and how much to cut. In the midst of all this you have to know or learn how to do all of this.
Hope you are not in a hurry