I am not sure whether you can place such a clause between any two words in the sentence, but the two examples that you have mentioned are both OK to me.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.