Yes he can be the Compliance officer provided he satisfies the following clause of listing Agreement
Clause 47(a)
Appointment of Company Secretary to act as Compliance Officer & will be responsible for monitoring share transfer process & report to company’s Board of directors in each meeting.