Of course, they can. I wear yoga shorts all the time, usually under looser fitting shorts. My physical therapist heartened me to use compression and “women’s” yoga shorts to do a much better job and for far less cost. I’ve tried several men’s density shorts brands, and most are just glorified boxer briefs. Plus, most have an outstanding cell phone pocket.