Make a snap to setup classic env with Python and Ansible script and run as service

I have this web app that’s easily setup using a script that basically installs dependencies like MariaDB, nginx, redis, nodejs, etc and then install a Python app that manages configuration for them.

The problem is, I need to run this app on RPi 3 with arm64, I can’t use Ubuntu Core 16 as a classic server. So, I want to know if I can directly make a snap to run this script for the first time and expose nginx as a service henceforth and the bench app as the management command.