No. Commands are not automatically turned on in Minecraft. You have to activate this from the settings or before or after the creation of the world.