In order to buy life insurance on someone else you need an insurable interest in that person, which does exist between a parent and their child.
A parent would be responsible for burial costs for their child if the child dies, and may take out life insurance on the child.
Here's how a parent can take out a life insurance policy on their child.