This could be done on a cnc router with a 4 (rotary) axis. How many posts are you thinking of as it may be quicker just to turn them on a manual lathe.

Bruce