Suppose I have an HD public xpubkey and I derive bitcoin public address(es) from it.
Given one of the public bitcoin address derived from it e.g. 1F1tAaz5x1....
Can you get the xpubkey e.g. xpub6DKUi1BvKEgn...
You don't derive addresses from a xpubkey. You derive (child-)public keys from an xpubkey.
The derivation can not be calculated 'reversed'. It behaves like a hash function.
An address is the hash of your public key which logically also can't be reversed.
So, no. This is not possible.
It is not possible to calculate the public key of the corresponding address (public key is 'exposed' after broadcasting a transaction).
It is not possible to calculate the xpubkey from an public key.
I thought it is impossible, but someone I know claims it is possible.
The person you know probably doesn't have a clue.
And if it is possible isn't the privacy compromised in this situation?
If it would be possible, then yes. But since this is not possible, everything is fine.