Yes , it is possible
Govt Employee can take Sabbatical to do CA if granted in which case employee will be paid salary and all perks for upto 3 yrs while doing CA.
Otherwise Employee can do CA Foundation course in their own time and write exam in their own time
HOPE IT WOULD HAVE HELPED YOU
ALL THE BEST