Help with switching shaver to EU plug
You can probably get a travel adapter for that, if you don't want to cut things up.
Most (all?) of Europe is at 230V AC / 50Hz; you can look up the AC voltage and frequency in your country here.
If the voltages match, it should be possible to do what you want, as long as you connect things well and make sure there is proper isolation everywhere along the new connection.
All disclaimers you can think of apply if you hurt yourself doing this, of course.