Wallet backup in heterogenous environment
Assuming you mean the wallet.dat file, yes, you can do that. There are no Operating System restrictions on the wallet.dat files (or any other files in the Bitcoin Core data directory).