Norway, for eg, dissolved a union with Sweden for sovereignty after a referendum, did not require crushing an enemy. Nationalism can have contrast without conflict. It often has both (esp. when debate over territory). Other nations have negotiated independence without crushing an enemy.