Boilers are designed for radiant heat and have radiant controls on them. They are more efficient and run at about 84%, at best, for non condensing units. But they are also a lot more expensive than water heaters.
Water heaters, for a specific and relatively small area, like a garage, can work...