Can you give 12.3 Volts on Vin pin of Uno?

You could use a DC-DC voltage converter, otherwise known as a "buck regulator". There are lots available on eBay etc. Choose one with significantly more current capacity than you need.

You need to study the law.