Hi, Yes, it's fine. It's an uncommon device for emphasis and also for style. There's a well-known saying that two swallows do not a summer make The writer of your sentence may well have been making an indirect, slightly humorous reference to that.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.