Yes, that's a reasonable approach, but requires the student to capture a star's spectrum, which is surprisingly difficult, involving finding the star in the sky, pointing the camera at it, keeping the camera on the star as the sky moves but keeping the star on the same pixels for 3 to 30 seconds...