Can't change ORACLE_SID for container-registry.oracle.com/database/enterprise
Sure, you need to change pfile/spfile and set ORACLE_SID before the startup of the database to change the name of the instance. Meaning you need to change how the docker image starts the database, if you want this done automatically.
Simply passing some environment variables through docker after the database was started will not change anything.