Proof of work for spam protection?

From quick reading of libp2p documentation it looks like pubsub is fairly close to what also does, except that there’s no network level spam protection by requiring that messages have certain amount of PoW attached to them. Has something like PoW been considered/tried with libp2p?