Yes it is possible as Brash mentioned already, I do this for one gateway on a public facing system that only requires access from a specific country. However if possible I would use this along side a rule allowing ONLY specific IP traffic.
That way you have a multi sided approach that should hopefully keep things secure as hackers will use bots located all over the world to do their dirty work so geo blocking on its own isn't secure.