Elliot has plans to add it, it’s on his to do list according to that thread, it’s probably not very hight priority list. It’s a complex problem. If there was an easy answer it would probably already be included.
The script you linked to on github is one of the ones I’ve seen, but I have not tested anything so I cannot say what works and what doesn’t.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users