you can wear bathing suit on a public beach but its better if You dont and to avoid any problem for yourself.
If you are ok with that then Go ahead and enjoy DOha Beach LIfe.