I fitted a cheap(ish) inverter for exactly that reason, to run a hairdryer at anchor. I bought a 2000W "pure sine wave" inverter from Amazon. They have a good selection, expect to pay £250-300. I fitted it as close to the batteries as possible, and wired it with beefy cables and a MegaFuse.
Do not try to wire it in to your existing mains sockets, a much better solution is to wire it to a dedicated socket. I installed one in the heads for hairdryer use, and one in the galley for an electric kettle or the microwave.
My inverter has a remote on/off switch, which I installed out of the way under the chart table.
When the inverter's in use, it does draw a hefty current. It's kinder to the batteries to run the engine whilst the inverter is in use.
Here's a pic showing the inverter installed under the saloon settee, next to the battery compartment.