Can I connect pins to high voltage?

the Due cannot source or sink that much current on any of its pins. according to my pinup diagram,

High current pins can source 15 ma, And sink 9 ma.
low current pins can source 3 ma, And sink 6 ma.

You can damage your processor if you exceed these values.