In AC class, it may be feasible but in SL class its pretty tiresome.
Consider there are 10 SL coaches. And its pretty sure you will get BCT-ST/BRC different coach and ST/BRC - BCT different coach. You have to change over from 1 coach to another coach in the late night time. Your sleep gonna wasted and other passengers sleep also.
Instead opt for earlier train to reach ST or BRC, take a small break at ST/BRC and then board it.