To supply code would mean that I’d have to completely build what you are trying to build. I’m sure that what you are attempting to do can be done, but there are no examples that I know of where someone has attempted to do this. Figuring it out would take hours. The only thing that I can do is point you to possible ways that it can be done.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users