If a .eth domain is bought in a Metamask web wallet. Can it be transferred to a different ethereum wallet address of a Ledger Nano S or X?
Hardware wallets don't store funds (or in this case ENS addresses), they store the keys that give access to those funds (or ENS addresses). Your Ether, tokens, ENS address, etc. are all stored on the Ethereum blockchain, and your hardware wallet simply provides access to those things.
Basically what that means is that it does not matter where you're transferring your ENS name from or to, as long as you have the private key to access the address where you're sending it to.
To transfer your ENS address, you can use the official ENS interface found here: https://app.ens.domains/