@Balaji It is feasible for the following reasons:
Schematic diagram of default 40 pin configuration of Android firmware:
It can be configured as a general gpio diagram:
GPIO pins:29, 30, 31, 32, 33,Please refer to the following link for configuring pins as gpio ports: