Can a GPy mounted on pytrack act as a router

I am trying to use a GPy mounted on a pytrack to transfer data from a raspberry pi to the internet. In a perfect world the rasperry pi would be connected by usb tether or wifi to the Gpy/pytrack and would appear as an internet connection. Can this be done??

Alternatively, the data could be transferred to the SD card on the pytrack by usb serial or wifi and then uploaded by the code running on the pycom. Any clues or examples.

I’ve done all the firmware upgrades and have got working code to automatically connect. To move forward, I’m currently working on the second option ie. data sent by serial and then uploaded, plus a tcp/ip server to take data from wifi and upload. Both are achievable but not as elegant or flexible as the first option. I’ll post if successful.