Membership Integration With Google Drive

Hello everyone, i have a question. Is it possible to integrate the membership program with Google Drive??? My idea is that everytime someones subscribes for a membership they will be given access to a google drive folder end if they end the subscription they’ll lose access to it. Anyone knows if that’s possible? Or if i can move the files to Ghost and people access them threw there?