The simple answer to your question is 'yes'. though all of your sentences seem a little contrived. These are a little less unnatural: If I've finished my homework by seven this evening, I'll go shopping with you.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.