I use a Meross smart plug to control a towel radiator, outside the room, of course. But any similar smart switch control will work whatever the brand.
That's what I'd fit in your adjacent cupboard. 13A socket and towel rail wired into a fused plug into the smart switch.