How to use analog mode GPIO pin(not ADC input channel) for ADC?
The pins with ADC input channels are used already.


The analog mode for a GPIO pad is just a multiplexer setting.   You still need the internal wiring to the ADC, which is only available for pins specified with an ADC channel marked ADC_INxx as additional function in table 16 of the datasheet.