Theming using existing site

Drupal Noob here, so this may be a silly question….

I’m trying to take an existing clients none-drupal website, using just the html source code and assets, and bring it in to the twig file to insert 3rd party content while keeping the sites original look. The issue is; the clients websites will typically contain multiple js/css calls within the source as well as in-line js, and sometimes inline css. The site I am currently messing with has ~64 assets calls.

All of these things need to stay within the same area of the source code, typically, in order for the page to render properly. For example; jQuery needs to be called before a js file that uses jQuery.

How would we go about doing this using YML, or is this not possible and we would need to hardcode it into the twig files? I know hardcoding works but obviously it’s not the best solution.


Drupal version: