Yes, Mammoth Lakes is only a 45-minute drive from Yosemite, and many travelers actually stay in town and head there for a day trip, especially during spring and summer when the access is easier. If you’re not driving, the Yosemite Area Regional Transportation Service (YARTS) runs between June and September and connects surrounding areas such as Mammoth Lakes to the park.