In the courtroom - can anyone be interrogated?

I am going to be in the courtroom with my boyfriend for a 50-b charge his STBX filed against him. Is there anyway her attorney can call me to the witness stand if I’m just merely in the courtroom (without having been subpoened)??

If you are present in the courtroom, the attorney may call you to the stand.