I don’t think you can do this without using panel.serve inside the python file.
But I think it would be very useful. Maybe the functionality could be added if you opened a feature request on the Bokeh Github? (panel serve is standing on the shoulders of bokeh serve).
And if you are there anyways feel free to upvote my request to also serve at suburls like /gallery/image-classifier. Bokeh Github #9671