SET environment variable at user level

The problem:
There is a dotnet-sdk snap package which has concept of global tools, similar to npm i -g sometool.
When you install any global tool, runner binary copied from snap folder and placed into users home directory.
Runner itself requires path to dotnet. It looks it up in DOTNET_PATH environment variable.
So the question is: Is it possible to define it in snapcraft.yaml so any global tool can read it?