Yes, you can use frozen blueberries instead of fresh ones in baking.  For most recipes, there is no need to defrost the berries before using them.  In fact, using thawed blueberries isn't recommended, because they leak too much liquid into the batter.