Interesting theory! It does make sense, because Luna's magic allows her to manipulate or influence dreams from what we've seen. Since their magic was switched at the time, maybe Celestia's subconscious affected Starlight's paranoia and brought forth the Daybreaker manifestation. She may have known how to handle Nightmare Moon, but her own thoughts might have been the main reasoning behind her own evil self popping in.