Answer is; yes you can, and yes; you can get into trouble. Although porn is not the only online activity or business that can get you into trouble. For example US has some pretty shitty laws and the legal practices are not very "user friendly".
But the risk is very low, unless they have already reached for you because of some issues.
You can have all sort of issues starting from copyright issues, trademark issues, client disputes, etc. If you have those issues and you visit a country where they are eager to throw people into cell, you have some small risk.
__________________
|