Have you looked into Yggdrasil? It basically creates an IPv6 address using your keys and then applications can work using it those addresses as if they are actual IPv6 addresses. This might be what you are looking for
Also take a look at cjdns, I think those guys later invented their own shitcoin, but it works in a similar way