Is it possible to secure a study visa after a 4-5 year work sabbatical?

is it still plausible to try for an undergraduate degree/diploma.Given that the age is close to 50.

Study visa can be obtained at any age. I do not think there is any restriction as such.