In theory yes.
But you cannot use a bind method that requires to provide a password. If you are using a DN it makes me think you are using a simple bind. gMSA account can't do a simple bind as they can do logons that require a password to be provided. You would have to change the way your application is working. If the application runs as a Windows service, you could configure the service to run with the gMSA and then have the code using GSSA-API (and Kerberos or NTLM) to bind to your domain controllers as opposed as a simple bind.