Yes you can offer your namaz where there are non mahram but you should not recite loudly and the strongest proof in this concern is Hajj season and Holy Shrine of our Aimmah (a.s) where woman offer their prayer while there are thousands of non mahram are present.