Dynamic road network

Hello.
Is it possible to send the road network along with gpx points for processing using Map Matching API ?
I am building a mobile data collector app and the user has it’s own road data source from ESRI as feature service.
The road network is very small in size, (max. 20-50 roads). So sending the data over http request will not be a problem.

Thanks.