Yes, but I’d say ett is more common for just counting if you’re not referring to anything in particular. If you’re counting e.g. people or things that are en-words, you’d have to say en, and ett for ett-words.
Also, when counting to music, it’s more common with en: en två tre fyr’.