Yes, you can.
You can use the Openstack API to perform most tasks, from creating VMs to managing networks.