I don't use OKX, but, if they give you a universally accepted seed phrase, like a BIP39 seed phrase for example, then you can take the seed phrase and put it in any software wallet (electrum, sparrow etc.) and retrieve your coins. Which means that you can just withdraw your money without ever logging in to their website. Do they offer this feature? If so, great for them!
Yes OKX, just like Binance and a few other Cexs, now have Web3 wallets like our regular non-custodial wallets with seedphrases.
So to summarize:
1. Buying with CEX and holding BTC there: BAD security, BAD privacy
2. Buying with CEX and holding in your own wallet: GOOD security, BAD privacy
3. Buying P2P and holding in your own wallet: GOOD security, GOOD privacy
Options two and three seem alike to me. What makes you think that option three is better a choice than two, privacy wise?
Keep this mentality and you will be good: Money in CEXs can just be considered lost money and if you are lucky, you may get them back in the future.
Don't forget that we also have instances were coins are forever lost because owners lost private keys or seedphrases to their noncustodial wallets. If those coins were left in Cexs and owners forgot their passwords to their accounts, it won't be lost forever. All they would do would be to activate forgot password tab and then go through verification (in extreme cases) to prove they're the rightful owners. Sadly, that's not the case with noncustodial wallets.