Hello aspirant,
YES, you can do any specialization course after class 12th commerce, even BA in Sanskrit, after class 12th.
Furthermore, To be eligible for BA Sanskrit it is not mandatory to have studied Sanskrit in class 12th . There's no barrier on subject which you have studied in your class 12th or the stream you are from.
Furthermore, To be eligible for BA Sanskrit course, a candidate must complete 10+2 in any stream from a recognised board or university . Most of the top colleges grant merit-based admission to the BA Sanskrit course.
Further, to know more about BA in courses, - eligibility criteria, admissions, career, scope, etc - you can follow the below mentioned link to know more : https://www.careers360.com/courses/b-a-bachelor-of-arts
I hope that this will help.
Regular exam updates, QnA, Predictors, College Applications & E-books now on your Mobile