It is not a problem at all. If you have discomfort wearing underwears at home, then it is a good alternative to wear cotton panties or shorts. Keeping parts of your body air tight all day can cause rashes, common for everyone.
As far as I know, you won't get any infection from wearing cotton shorts. Instead it will prevent you from getting rashes.
Hope this helps.
It can be, if you wear a very short skirt and sit bare butt on a chair or bench