Turning into a cot in Zwinky is not a standard feature. If you mean a costume or avatar trick, it would depend on available items or unofficial mods, which may not work reliably.