The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
No way that I know of, and as far as our brief research went there is no real API for the current version of Advanced Roadmaps. The previous "Live Plans" functionality had a Java API (as I recall) but that is no longer functional and there is no replacement.
Actually, I just looked over at Atlassian Forge (the cloud API resource) and it doesn't look like there's anything about roadmaps there either.
We know that great teams require amazing project management chops. It's no surprise that great teams who use Jira have strong project managers, effective workflows, and secrets that bring planning ...