In 3E, all that happens is that you change physical forms. You don't lose your mind or suffer any mental ill-effects. There are a bunch of caveats on what exactly happens when you change forms, but nothing harmful, except for incidental effects -- eg someone polymorphed into a fish is usually in trouble.
There would be nothing wrong with polymorphing a familiar.