Hi @GB82 I think anything would be possible, as Strapi is a Node app, so anything you can do in node should be possible.
One thing you can do out of the box is extend the Strapi Controllers, which is probably where you would do that type of thing. https://strapi.io/documentation/v3.x/concepts/controllers.html#core-controllers