Freezing Cooked Spaghetti & Noodles

Is it okay to freeze leftover cooked spaghetti with the noodles already mixed in?