It is generally not recommended to continue driving when both the battery and brake lights are on. These lights indicate potential issues with critical systems in the vehicle. Continuing to drive could result in further damage or compromised safety.  It is advisable to have the vehicle inspected and repaired by a professional before resuming regular driving.