Can I fit a 3 pin plug to an appliance which is designed for permanent connection?
No. If the appliance is supplied WITHOUT a flex, it is “Type Approved” in that configuration. It must remain in that configuration within the installation in order to continue to be an approved appliance. This is particularly important in water heaters.