Very easy if you’re building a new box. The latest Linux kernel (6 I think) has all the required drivers available, and no encoding limit like Nvidia. The Intel GPUs are pretty great for media transcoding.
Personally I setup an old Dell r720 and stuck the GPU in that. My hypervisor is proxmox and I just run jellyfin as an unprivileged container.