Under Floor Heating – both hot water and electric

Can I have both hot water and electric UFH installed in our new bathroom? The hot water system would run off the central heating boiler. The electric system would be for use when the central heating system is not on.