Nope. Its
impossible. Which is always just technicians talk for "it really IS possible but its more trouble than its worth".
There is already code written to make sure that only good starting positions are open on a map as start points (such as making sure that land has at least 5 land connections and water has at least 5 water connections). And there is code to recognize terrains so that start positions would appropriately be water, forest, plains, mountain, swamp, cave, etc. And it could be possible to write code that makes sure that all of the starting positions are at least X moves from all other start positions. So a program could feasably automatigicaly give all nations a fairly decent set starting location and then reset the poptype to match.
But most likely the answer is that its
impossible because Im sure not going to do it.