You’re not really gaining the benefits of fasting in that way. You would decrease your total calorie intake, which has some benefit, but the real magic of IF is helping keep insulin levels low for long periods so the body can tap fat stores for energy. The two time windows you suggest really wouldn’t help you optimize this. I highly recommend reading “Fast, Feast, Repeat” to better understand the science.
It’s true the typical person enters ketosis at the 12 hour window. That’s because it takes that long to digest your last meal. Those #s may change depending on the size of your meal. I’d suggest an experiment and see if it works. Diet will be key. Maybe something like a low-carb diet in addition to your fasting windows.