This post https://thednageek.com/genealogical-dna-testing-around-the-globe/ is a bit old, but at that time (2017) most countries allowed testing, but even if testing was allowed some companies were prohibited.