ServiceAccount with custom userstorageprovider

Hi,
I need a way to implement a service account login into keycloak using custom userstorageprovider.
Is it possible?