Yeah I think that would do. Although these options would sound a bit more smooth for me:
The feet of 'B' are towards A's head.
The feet of 'B' point towards A's head.
B's feet point in the direction of A's head.
Also, using are pointing instead of point would be correct.
I think that talking about the direction of the feet alone sounds a bit odd. I would prefer, "B is lying with their feet towards A's head".
Or, if you literally need "B's feet" then something like, "B's feet are positioned towards A's head" or "B's feet are close to A's head."