No, this is not possible with the API:
- Neither the API, nor the main sites, provides a way to search on location.
- You can't even brute-force it, by downloading every user either. Because:
- There are currently 4,972,549 users on Stack Overflow.
- You can download, at most, 1 million user records per day. (10,000 API quota times pagesize of 100.)
You could brute-force smaller sites that have less than 1 million users, but I wouldn't recommend it.
You can search by location using SEDE. For example:
Stack Overflow users who claim to reside in Bangladesh
Note that SEDE data may be up to 1 week old and [there is no API for it][3].