Encoding video stream using hardware acceleriation

Thinking to buy Regenerade SBC and using it as a video/stream converter beacuse it has a h264 and h265 encoders. Is possible to use it with ffmpeg?

There is no upstream driver for the encoder for RK3328.