Maybe. How does the application unify different environment variables? Those inherited by the shell, those read from .profile, those set in the process that start the application (be that ./run.sh, a nodejs script, systemd etc...).
Because well behaved applications play nice with their host system.
I have a strong suspicion that you’re thinking about application configuration, not environment configuration.