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.