Unfortunately, the answer is no. Each country has different laws and regulations regarding gambling. The legality status of gambling depends on the legislation, religions, beliefs, and many other things. Some countries like Austria open their doors to international gambling and issue licenses for local operators. Some other countries like Egypt make gambling semi-legal, in which online casinos are not regulated, and land-based casinos are opened to foreigners. Some completely forbid the act of gambling within their territories, such as Singapore and North Korea.
We advise you always to double-check before playing at a particular casino, especially the payment methods and Terms and Conditions.