Technically you could be frozen forever if you have the worst luck ever.
A frozen Pokémon has a 20% chance of being thawed out every turn. On the turn that a Pokémon defrosts, it cannot attack until the next turn, similar to Sleep in Generation I.
-Bulbapedia