Yes. One device can be both Server and Client.