Yes, the two would eat similar things in the wild. The only issue would be if the cockatiel food is on the large side for the budgie, but it should usually manage.