Yes, it is possible. Gateways can be used to do so.
  1. For SharePoint: Data Management Gateway
  2. For Powerbi.com: Power BI Personal Gateway