Yes. It's not as good as actual formulated yeast nutrients, but it is an easy option. It's not typically necessary in beer fermentation, however. It's more commonly added to wine or mead recipes as a nutrient. In those cases, it's typically boiled separately in a small amount of water and added to the must.