You can. You can set a profile to go active when a specific program is in the foreground, and you can run multiple profiles simultaneously. I haven’t used that feature though.
If you want to try it, you can download the software for free and noodle with it, even without having the hardware. Here’s a link to the Dorico macro profile I created: https://www.dropbox.com/s/xwbm7ehcra23a1d/Dorico.streamDeckProfile?dl=0
When you download the software, go to settings–>Profiles–>Import, and you can pull in the entire profile, icons, and keystrokes and all.