There is no rule that says "unless" cannot be followed by a negative. Sometimes it may result in a sentence that is complicated to understand, that's all. Your example is acceptable in my opinion, although "can not" should be "cannot".
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.