I think in the cases I saw this, the .env file was more like an INI file without any sections and certainly without any shell-like executions. Just plain key-value pairs. I am not sure even quotes are needed. However splitting to only 2 values should be used so the value part could contain an equal sign as well. Better yet, use your suggestion.
I am still wondering how much is this a "standard practice" or a good practice?