Add javascript scnippet via API

Hello forum cityzens. I have a question. Is there a way to add some javascript code snippet programmatically, like using Bublle API? I see there are some ways to add custom JS manually but what I need is to have the ability to send calls from my 3rd party system to user’s bubble app and update it adding some custom js code snippets.
Actually you can do it from platform like Shopify, Bigcommerce, Weebly: 1st user goes through the authentication, you can obtain the access token which will be used in calls and then you can add custom JS snippet to website programmatically. I am wondering is it possible to add such snippets to Bubble website? Thanks.