I am looking to do something similar to what you are trying to accomplish. I ended up stumbling upon this link to an example from a post in the forums. I hope this help.
https://github.com/Hube2/acf-dynamic-ajax-select-example/tree/master/dynamic-select-example