Mock Gps Position

Hi,

Is it possible to mock the gps position of the device through the API?

I was wondering if it would be possible make the device using the gps coordinates received by a companion android app.

Thanks in advance