“you can Option-launch Photos and pick a Photos Library file within your Time Machine backup drive”

Link. I’ve not tested this. Interesting option for the desperate.