Depends on the country, probably. I think a likely scenario is develop a platform and get supporters... then go through that country's legal process (if there is one) for establishing a party and getting candidates on ballots.
Most countries have provisions banning political parties that advocate the overthrow of the existing government by any means other than the elective process. You have the right to speech and assembly but once you start to act, "the party's over."