User Login with Discovery Plugin

Is it possible to use the Discovery plugin to allow users to login through a separate frontend?

Context: trying to use open edX instance as an API/backend only and building a separate webapp for frontend. Is this possible? If so, can it be done through the Discovery plugin or do we need to tweak our open edX instance to create additional endpoints? Thanks.