Can someone make a chrome app/ extension that logs usernames and passwords?

So, can someone make a chrome app, or extension, that monitors the submission of all forms with a username and/or password field and then logs the credentials to the users google drive? Something exactly like the Gumshoe extension, but instead of saving locally it gets saved to the users drive?