Although there are many pilots that fly with their pets loose in the cabin with no problems, this is still not the safest choice. Your pets behavior will be completely unpredictable when they are first introduced to flying and at the very least they should be restrained until they become accustomed to it.