Yes. GPUs are also very good for video hardware encoding.
But you don’t need top of the line. A mid range last generation card will do fine.
Thanks!