I think it would be a very much needed feature and I saw the first asks for this from about 10 years ago. Does the API provide the functions to script that?
the amount of times iāve seen this on Ideas & Suggestions in posts posted between 2002-2024 is staggering. it really feels like iāve seen 300 identical requests for this out of the 7361 ones (i grabbed the entire subforum 2002-2024 april posts, and have been going through them). itās nothing to scoff at. people really seem to want this.
I made this this tool which allows you to change how a sample is being looped by controlling the movement of two slice markers. Loop playback responds to both start and end marker movement.