In case my primary drive fails with hardware failure in my Mac, is it possible to boot from the secondary Time Machine backup drive which is connected to my Mac?

What steps to be followed for that? Hope that there should be some option please explain me that.