Will it work, yeah. But why purchase the Home Depot stuff when you can get real tinned marine grade wire within 2-3 days from genuinedealz.com for the same price. Marine wire/cable is far superior to Home Depot wire as it's finer stranded, tinned, has better insulation and is more flexible.
Tinned wire is best as it won't corrode like bare copper wire, but my 01 Crestliner was built with a lot of copper wire, with tinned wire used in a few places, so it's not like all freshwater boat manufacturers exclusively use tinned wire.... I've had to clean up some corrode copper wiring in my boat, and probably 90% of the wiring I've added has been tinned marine. If using copper wire, just be sure to seal the terminations well with liquid electrical tape and then heatshrink tubing, or just adhesive lined heatshrink tubing.