Bail is nothing but a surety of presence in the court during the proceedings.
Based on this, the court has granted interim bail. But, the accused choose not to confront during the trial/proceedings, that's why the court ordered judicial custody.
Yes, the accuse can pray for the bail before Ld. Court. Looking into the circumstance, Prediction is hard in this case. Try to convince the judge and provide some medical reason (if possible). Also, mention before the court, that the accused is too willing to submit amount to the court as a part of the surety.
Rest, the grant of bail depends on the discretion of the court.