About P2P networking
Sure.  That's fine.  Nothing wrong with that.  Transport-layer protocols (such as UDP or TCP) use port numbers so that you can run multiple applications on the same machine without any difficulty.