Yes, this can be done! Please see the support article where a user is able to extract data from the KoBoToolbox server using Excel Power Query and PowerBI.
If you wish to have your google sheet as your server which stores data go through the discussion that has happened earlier in the community forum. It should help you guide on how to do the same.
Could you share the link for this so that we could help sort it out for you.
GOOD DAY!