Yes.
The Embassy of Sweden in Astana does not issue visas. Applicants legally residing in Kazakhstan will apply at the Embassy of Latvia in Astana or the Consulate General of Lithuania in Almaty.