Possibility of custom Mendix widget

Hi everyone,
Within the low code platform Mendix, there is an AnyChart widget based on plot.ly. It works quite good, but misses thresholding integration and alerting. In our development team, the question has come up whether we could create a similar custom widget but for Grafana that includes these things. I’ve asked someone to check the possibility. He said: not if Grafana always needs to run on a server. We would need a library that we could include in the custom widget. Is that an option at all? Based on this question, I think no, but I’d like to be sure. Thank you!