Hi jahnvi25,
Thanks for contacting us with your question.
Unfortunately something like that is not implemented yet. However, we are aware that such functionality would be really useful and many users are looking forward for it. If you are one of them and you would like to see such functionality implemented, then I highly encourage you to add such idea on our user voice or create feature request on github.
User voice: https://highcharts.uservoice.com/forums ... script-api
Best regards!