Yes, absolutely, and it's one of the most popular side trips from Las Vegas. The South Rim is about a four-and-a-half to five hour drive each way, which makes it a long but doable day trip if you leave early and don't mind a lot of time behind the wheel. Most people find it more comfortable to stay overnight in Tusayan or inside the park, especially if they want to catch sunrise or sunset over the canyon, which is genuinely worth the extra night.
The West Rim, including the Skywalk, is much closer, roughly two to two-and-a-half hours from the Strip, but it's worth knowing it's not part of the national park and is run by the Hualapai Tribe. Entry and the Skywalk are priced separately, and cameras aren't allowed on the glass. It's a convenient option if your time is tight, but the classic canyon views most people picture are at the South Rim.
If you'd rather not drive, there are organized coach and small-group tours, plus scenic flights and helicopter trips from Las Vegas, some of which land inside the canyon. Driving yourself gives you the most flexibility, but check current park entry fees and any shuttle arrangements on the National Park Service site before you go, since these change seasonally. Also bear in mind the North Rim is closed in winter and is a much longer drive from Las Vegas, so it's rarely a sensible day trip.