Yes, it is possible to go into ketosis within 24 hours by fasting. While not always the case, you can typically start seeing low levels of ketones between 24 - 36 hours after starting a fast.