well, you can't get two tamas from one egg, but it is possible to get multiple eggs. here are some instructions with some othe goodies I've had for a wile:
Well, on the Gen 1/P1 and Gen 2/P2 tamagotchis, you can have twins. But... you dont type in a code on those (at least not on the g1/g2...