In a way, yes. It is serving the correct structural function, but a colon is rather formal while your text is not. It would be better served with an m-dash: She swore — not a lot, just once or twice.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.