Installing a Snap in chrooted enviornment

Is there a way to update snaps (store and files) in a chrooted enviornment? I have a directory tree where I can chroot into, install stuff via APT, then I can mount it as my fs and it works as you would expect. However the problem is that when trying to do the same with Snap it won’t work. At first it complained that Snapd wasn’t initialized correctly. Then I tried to bind mount /run directory from outside to inside, but this resulted in the installation on my “host” machine and not on the chrooted environment.

No, unfortunately snapd is not designed to work within a chroot

If you want a chroot-like environment, one option would be to use an LXD container (kind of like a chroot on steroids). You can install snaps within an LXD container.