Hot water heater as a water source for ice maker?

I am moving an old fridge into my garage. It has an ice maker, but there is currently no water line in the garage. The location is, however, very close to the hot water heater tank. The tank has a couple of spigots near the bottom, and I am wondering if they can be used to feed the refrigerator's ice maker, or if there's any way to leverage the hot water heater tank for this purpose.

The preferred way to make the connection is to cut into the cold water line, install a tee, add a ball valve and adapt to 1/4". From there you can use 1/4" copper or a flex ice maker line. Saddle tees are often sold to uninformed DIY, but these are not trustworthy. I prefer the flex lines because they are not prone to kinking like 1/4" copper. These flex lines are available at hardware stores. Cost a bit more than copper, but allow you to move the ice maker without worry of ruining the line.