howdo, Mike!
Yes, it is feasible to make your own small parts.
What is the make and model of pistol? Do you have the broken part? That will give a starting point for the item you want to make.
Depending on the extractor design, it may either be spring-driven, or it is it's own spring. If it is spring-driven, making your own should be a one-evening affair.
If the extractor is it's own spring, hardening and tempering is a little bit trickier, but still within the capability of the home gunsmith.
You can usually start with oil-hardening flat stock and drill, file, or grind it to rough shape, and do final fitting with files and Dremel tool.
You can't just just any old piece of steel lying around if you want it to be durable or reliable. Brownell's sells suitable flat stock. Or, you can nose around at your local machine shop for some tool steel scraps.