In some senses the answer can be YES.
Just for future visitors you cannot have a break journey, but since there are no direct trains from Bangalore to Cuddappah you can technically get away with a break if you book your ticket in a counter (not in IRCTC as far as I know at the time of writing, but my IRCTC knowledge is a bit outdated).
So basically you have to plan your trip in such a manner that your train to Tirupati and your second train from Tirupathi are not more than 24 hours apart. This way you can book a "through journey ticket" which will allow you to combine the second ticket for the purposes of fare calculations and then book your second ticket in a train that starts from Tirupathy within 24 hours note the rule says.
"it should not be treated as break journey provided such halt is for less than 24 hours"