Hi @vjleo94 ,
The requirement is not clear but I hope you understand that /content/dam is the path where we keep assets and, /content/<project_name> is where we keep content pages (html, where we configure component). Now, your requirement is to trigger Sling Model from the component without HTL, but why?
Sling Model is used to map the POJOs from Sling objects/resources and then use it on HTML/view.
If you just want to save something on JCR, then you can simply use Sling servletOSGI Service for the same.
In below video I have explained how can we trigger resource based sling servlet from script-
https://www.youtube.com/watch?v=iQu65qNN428&list=PLzwWOJSdKWBf7zLga8P7-ARxFQRwGGd94&index=6
Thanks,
Ritesh Mittal