It is possible, though not advisable, to visit Las Vegas and never leave your hotel premises.
You could stay at the hotel for your entire visit to Las Vegas.
It would not be possible to stay at the hotel the whole time you are in Las Vegas.