Quote from bzzzt
Of course you can!
Just type this:
If you want to switch back to Survival, type:
Dumb question: Where do you type in /gamemode 1 ?
In the Minecraft chat