In general, yes. I can't think of any particular precautions you'd take in Italy that you wouldn't take in other European countries: be level-headed when you meet men, avoid dark places at night – the usual admonitions. When it comes to solo female travel in Europe, Italy is relatively typical.