No, you can't access the (GCE-specific) metadata from a GAE standard instance since it's not a GCE VM/instance. From Getting metadata (emphasis mine):
You can query the contents of the metadata server by making a request
to the following root URLs from within a virtual machine instance.
Use the http://metadata.google.internal/computeMetadata/v1/
URL to
make requests to the metadata server.
The DNS failure you see for metadata.google.internal
is a likely indicator that it's a special host DNS entry available only inside the GCE network or machine.
But in general it is possible to share files across GAE services/modules by symlinking the same file (ideally placed in the app dir) inside each of the service/module dir requiring it. See examples here: Sharing entities between App Engine modules and here: https://stackoverflow.com/a/34111170/4495081
As long as the flex service/module uses the same file(s) content(s) the same way as the standard one does, this technique should work for them as well, meaning you can share configs by sharing an appengine_config.py
file, for example.