During the OS boot process, I dont think so. As far as I know, the UEFI can only store an image.
But it was possible to put an animation in the BIOS before the OS loads, not sure if its still possible in this UEFI era. I had an Asus laptop with that feature, but Im personally not a big fan of it as it feels like a waste of time when I need to get the computer up and running as soon as possible
Lol that would give me a mini heart attack everytime I boot the device. "Sh!t my GPU breaks.. oh wait its just the boot screen"