Of course you are, you have human rights to wear whatever you wish. As long as it isn't public indecently or any activities in which you have to wear PPE to protect yourself.
So, how short are the shorts that girls wear to uni then?
I'm generally a mini-skirt/hotpants kind of girl, so I don't have anything long. I studied engineering where there were very few females in the course (who are also quite conservative in the way they dress) so I just didn't want the unnecessary attention.
There were plenty of girls wearing them around uni though, so don't worry.