As a rule, officials take no notice and you're free to sunbathe as you please.
There is no official to regulate sunbathing.