GnuPG with 2.2.25 allows inquire generate to generate a Passphrase for pinentry so that this can be used with symmetric encryption.
This needs to be improved when displaying / entering the generated PIN. So that it can be nicely copied / printed etc.