I believe what you are looking for is the Broodwar API (BWAPI). Although not an official SDK, but it pretty much allows you to do anything in Starcraft: Brood War.
It even has a yearly competition supported by Blizzard.
PS If you decide to use it, don't forget to check out two very important extensions: