On my Google Workspace org, app passwords don't even show up in the user account settings any more. The documentation says they are recommended against, and the IMAP docs say only oauth2 is supported. However I just found posts that suggest that you can still access them if you navigate directly to the app passwords page. I will try.
We're using app passwords for Marco (https://marcoapp.io), until we get through the unnecessarily-rigorous process of gaining privileged OAuth access for email scopes.
With an app password you have full IMAP access.