trip into graph

Hello dear developers ! I am sorry for distracting. Thanks for your work! I am writing master thesis "Location prediction of vehicles based on geo-tracking. I would like to ask you: is it possible to put a whole trip on the graph (for ex osmnx) without using «shortest_path» , which is the method of networkx library. I will be glad for any help! Thank you in advance !!!