I have a question
lets say I have a litecoin wallet, but I want to combine it's wallet.dat with bitcoin wallet.dat, and there will be two private key in one wallet.dat. Is that possible?
This is not for bitcoin-qt or electrum etc, this is for a custom software.
If it is custom software you can of course store private keys together. They are just numbers and you'd add a key indicating which type.