Can a rule that filters and redirect traffic based on country of origin be implemented in .htaccess?
Can it be implemented in any other way then by an IP address? I need the solution to be as accurate as possible.
Maybe this link (how to redirect domain according to country IP address) can help you.
I think, however, that this is not a good practice. Redirection by language or country is quite strict. It is better preferred:
This is only my opinion.
Yes, we used to filter visitors from Nigeria by .htaccess:
You can generate your own at http://ip2location.com/free/visitor-redirection .