Can you use an HDMI cable to connect a laptop to a TV to play Netflix, etc.?

Absolute.

However, I would instead look into some streaming options. For very little money you can turn your TV into an intelligent TV via an Amazon Fire Stick ($ 30ish) or even a ChromeCast.

MUCH better solution instead of running a laptop and a TV for Netflix.

,