Yes Mandalay is 'safe' as far as travel goes. Just follow standard precautions such as securing your belongings and watch out for scams. The areas in Myanmar where armed conflict occurs are far from the city and those areas are restricted for tourists.