Nostr's whole point is that it isn't P2P. Relays are fundamental to that. If your solution is P2P, it's not nostr.
Ideally, relays should not see any plaintext unencrypted content that would make them liable, but idk how that would work.
But yes, currently relays are a liability nightmare.