Amazingly, yes, you can! However, it’s extremely complicated, and it involves a certain amount of previous knowledge of computer science. There are several tutorials available online that can walk you through the basic process.
I recommend (if using the HD edition) you make 6 militaristic buildings for each of the militaristic units you intend to make the most of. Start doing this in feudal,...