Yes, there is a so much options we have, for a backend you can set with Laravel or ExpressJS and you can took the path calculation solution via python in the most effective way.
Make it simple, most of projects doesnt need a AI, ML or big algorithms.
If your project just serving end users take it to the web ready compatible. (Javascript, .Net, PHP Laravel)