I think what still needs to be released for this to be generally available is support for variable expansion, I was surprised to notice that most of my use of environment had this construct:
apps:
vim:
command: vim
environment:
VIM_RUNTIME_DIR: $SNAP/usr
Or something like that. Is that currently working on the released versions?