Question regarding the ArduinoBLE

I understand that the ArduinoBLE library has examples on how to set up central and peripherals, but I have a couple questions below:

  1. I wanted to know if there is a way to switch the central and peripherals while Arduino is running?
  2. If not, then how do I set up the central and peripheral in such a way that both can write and read to one another?

Any help would be appreciated,
Thank you