Automatically evoke a template when a new page is created

Is it possible to automatically evoke a template when creating a new page ?

I have templates for different types of entries, like books, people, talks, and I name these types consistently in the page names. For example, books and talks are name spaces ‘Books/XYZ’ or ‘Talks/XYZ’; while for people I currently use a prefix ‘P’, as in ‘P Firstname Lastname’.

However, every time I create a new page in that format, I have to manually switch to the page and apply the template. Is it possible to automatically apply a template when a page is created ? If not, could this be implemented ?