I was wondering if it possible to make a game like spore
in which you create creatures, flora etc. in the game and then there is a system in which you save those species in an array to be used later in an ecosysten of a procedurally generated or player created planets
Yes, definitely possible to do all of that in UDK. But I would recommend UE4 for any new project.