sure, very easy with htaccess with the countries you want to block ip addresses ie:
order allow,deny
deny from country ip address 1
deny from country ip address 2
deny from country ip address 3
allow from all
you can get the countries ip address ranges from here:
http://www.ipaddresslocation.org/ip_...get_ranges.php
replace "country ip address 1" with the real ips