Install blender and godot.
Don't know exactly how free it is but face mesh (+media pipe) might be useful.
Otherwise feel free to use arcodes and openCV to make your own head tracking software! That was supposed to be my week-end project but I got lazy.