Beachwear is only appropriate at the beach, regarding bikinis, You won't have any problem in a hotel so you can wear any type of bathing suit that you want. However, it should be mentioned that you might not feel as comfortable on some Moroccan beaches.