Of course you can.
What you have to avoid is visible "signs", means holding hand with a person of a different sex, kissing in public...
Otherwise of course there is no problem. Also think of dressing in a manner that respect the local tradition, mean no visible knees or shoulders.