Hi there!
Currently, the answer is no, there is not a way to automate the creation of Server data connections. That being said, we are current reviewing our data connection strategy, and I believing adding intended public APIs is a great notion. This is something we can review for upcoming changes to the roadmap. Thanks!
~Tanya