I think you chould probably not be doing this, because she could be leaking amniotic fluid, and by having sex you could be allowing bacteria to get in. Go to the dr. asap.
It really just depends on the type of fish -- I would ask the pet store rep -- because different species of fish most likely have different preferences on how cramped up they can handle being.