Can I run bpy scripts without all of blender in background
Generally the answer is &quot;no&quot;, blender cant run as a standalone module except if you build it on your own (never tried that to be honest).
Blender python : where is bpy module located in windows 10
A working guidance for building blender as bpy python module?
What I would suggest instead, is to run Blender on the background and load your scripts and your 3d mesh, do all the processing and export your file as needed.
Here you may find all the possible and useful args for your commandline
https://docs.blender.org/manual/en/latest/advanced/command_line/arguments.html
it will take some more tweaking in order to set your custom scripts either on the blender startup or as additonal arguments on the commandline before the execution.