Yes indeed, if you are using the updated Block method for ACF Pro that uses the WordPress block.json then everything block.json can do you can now do too.
"editorScript": "file:./index.js",
"script": "file:./script.js",
"viewScript": [ "file:./view.js", "example-shared-view-script" ],
https://developer.wordpress.org/block-editor/reference-guides/block-api/block-metadata/