Content Security Policy (CSP) for frappe Framework using nounces

Is it possible to use CSP nounces in frappe framework, if yes , which file do in need to add it to?
Looking to do a CSP similar to
Content-Security-Policy:
script-src ‘sha256-{HASHED_INLINE_SCRIPT}’ ‘strict-dynamic’;
object-src ‘none’;
base-uri ‘none’;