Do you mean exchange data between them? Yes it is possible without the gatway, in p2p mode, you're relying on the LoRa modulation only, there is no LoRaWan stack running on top of the modulation, let's say that at p2p your are only using the PHY layer of LoRa and not the aboves one ( like Link one)
REgards,