Rome is considering a hotel tax on the 9 million visitors to the Eternal City each year, a revenue- raising measure that may hurt tourism in the Italian capital and put further pressure on its credit rating.