Enqueuing Nested Jobs

Is it safe to have nested BackgroundJobs enqueued?

For example:

BackgroundJob.Enqueue(x => x.CalculateAll(myId));

public void CalculateAll(int id)
{
var myList = _repo.GetMyList(id);
foreach (var item in myList)
BackgroundJob.Enqueue(x => x.DoDiffCalculation(item.id));
}

That’s a totally fine thing to do. In the end DoDiffCalculation is executed all on its own so the job is not nested in the way you might think by looking at the code.