Hi,
yes, this is possible using PORT_PCRn[DSE] bit.
But note, not all pin control settings mentioned in PORT_PCRn register are configurable for all pins. Refer 'Bits Configurable' field in 'IO Signal Table' tab of IO Signal Description Input Multiplexing sheet(s) attached to the Reference Manual. DSE is available for GPIO-HD pad type only.
BR, Petr