Yes, that's certainly possible. It takes a bit over 2 hours to get there. All trains can be found in the timetable. Glacier Express information is here.
Enjoy your trip!
All you need to know about traveling by train, bus or car in Switzerland.
Hand picked Swiss hotels and other accommodations are right here.
Swiss Travel Pass promotion: 25% discountAvailable until 11 December 2021. Book 11 months in advance. Free cancellation.https://shop.switzerlandtravelcentre.com/#/en/home.