Can we run the scripts manually which are installed by snap

Hi team,

I have set of scripts, want to package as a snap. When I install it should create dir and copy the scripts into that dir of host machine.

When the scripts are copied to the dir. want to run that script manually. Is this achievable?

Also docker is installed as snap.

Also this script should have access to that doctor commands