yes
Add your custom script in hooks.py,
if script in custom location,
doctype_js = { "Item": "custom_scripts/item.js", }
if custom script is created in UI,
{ "doctype": "Custom Script", "filters": [ ["name", "in", ( "Employee-Client", )] ] },
export your custom script using bench export-fixtures command