Not a good idea! Hamsters are solitary and do not get lonely. Some Dwarf hamsters can live together, but really only if they are from the same litter. It is unlikely two unrelated Dwarfs will be able to tolerate each other for long and they will fight viciously. A Syrian will kill your Dwarf if they live together.
You should separate male and female hamsters. Hamsters are prolific breeders and you do not want to end up with more than 20 hamsters to feed and clean!